From 778990d4ad9d2e8d332b4be6e5c383fa993882f3 Mon Sep 17 00:00:00 2001 From: ricardoofnl Date: Thu, 3 Sep 2026 00:27:37 +0700 Subject: [PATCH] [saco] Match `FUNC_1001EBE0`; the free `__stdcall` twin of `FindGtaIDFromID` that takes the pointer directly --- saco/net/vehiclepool.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/saco/net/vehiclepool.cpp b/saco/net/vehiclepool.cpp index c32cd23..b1736cb 100644 --- a/saco/net/vehiclepool.cpp +++ b/saco/net/vehiclepool.cpp @@ -38,3 +38,11 @@ void CVehiclePool::FUNC_1001E9B0() } //---------------------------------------------------- + +int __stdcall FUNC_1001EBE0(VEHICLE_TYPE *pVehicle) +{ + if(pVehicle) return GamePool_Vehicle_GetIndex(pVehicle); + return INVALID_VEHICLE_ID; +} + +//----------------------------------------------------