// // sub_10050BAF0 from 0x10050baf0 to 0x10050bb74 (132 bytes) // // 3 xrefs: // > sub_100508FA0 @ 0x100509360 // > sub_100509374 @ 0x100509730 // > sub_100509844 @ 0x100509a98 // // 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_10050BAF0(__int64 a1, __int64 a2, int a3) { __int16 v5; // w8 __int64 result; // x0 int *v8; // x1 int *v9; // [xsp+8h] [xbp-28h] BYREF v5 = atomic_load((unsigned int *)(a1 + 100)); if ( (v5 & 0x100) != 0 ) { *(_QWORD *)(a1 + 544) = a2; return 0; } else { result = sub_10043E710(*(_QWORD *)(a1 + 168), &v9, 24, a3); if ( !(_DWORD)result ) { *(_BYTE *)v9 = 16; v8 = v9; *((_QWORD *)v9 + 1) = a1; *((_QWORD *)v8 + 2) = a2; return sub_10043E7B4(*(_QWORD *)(a1 + 168), (__int64)v8, a3); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source