// // sub_180012370 from 0x180012370 to 0x1800123e5 (117 bytes) // // 2 xrefs: // > sub_1800DEC00 @ 0x1800dece7 // > @ 0x1801f6ea0 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // __int64 __fastcall sub_180012370(__int64 a1, _DWORD *a2, int a3) { __int64 v4; // rdx __int64 result; // rax __int64 (*v6)(void); // r9 __int128 v7; // [rsp+20h] [rbp-48h] BYREF __int128 v8; // [rsp+30h] [rbp-38h] __int128 v9; // [rsp+40h] [rbp-28h] __int64 v10; // [rsp+50h] [rbp-18h] if ( a3 == 8 ) { v4 = *(unsigned int *)(a1 + 284); v10 = 0; v7 = 0; v8 = 0; v9 = 0; result = (*(__int64 (__fastcall **)(__int64, __int64, __int128 *))(a1 + 136))(a1, v4, &v7); if ( !(_DWORD)result ) { *a2 = DWORD1(v8); return 0; } } else { v6 = *(__int64 (**)(void))(a1 + 104); if ( v6 ) { return v6(); } else { *a2 = 0; return 68; } } return result; }