// // sub_5BDF0 from 0x5bdf0 to 0x5be98 (168 bytes) // // 1 xrefs: // > sub_5AC04 @ 0x5acc4 // // 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 // _QWORD *__fastcall sub_5BDF0(__int64 a1, _QWORD *a2, _QWORD *a3, char a4) { _QWORD *result; // x0 __int64 v7; // [xsp+8h] [xbp-18h] BYREF if ( a2 == a3 && (a4 & 1) == 0 ) return nullptr; if ( !a2 || (result = (*(_QWORD *(__fastcall **)(_QWORD *__return_ptr, _QWORD *, __int64, __int64 *))(*a2 + 288LL))( a2, a2, 4294967293LL, &v7), !(_DWORD)result) && (!v7 || (result = (_QWORD *)sub_CB928(v7, *(_QWORD *)(a1 + 96), 0, 0), !(_DWORD)result)) ) { if ( !a3 ) return nullptr; result = (_QWORD *)sub_5C50C(a3, 4294967293LL, &v7); if ( !(_DWORD)result ) { if ( !v7 ) return nullptr; result = (_QWORD *)sub_5C538(v7, *(_QWORD *)(a1 + 96)); if ( !(_DWORD)result ) return nullptr; } } return result; }