// // sub_5BA6C from 0x5ba6c to 0x5bb4c (224 bytes) // // 1 xrefs: // > @ 0x10c6e8 // // 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_5BA6C(__int64 a1, __int64 a2, signed int a3, signed int a4, unsigned int a5, char a6) { __int64 result; // x0 __int64 v9; // x8 __int64 v10; // x24 __int64 v11; // [xsp+8h] [xbp-38h] BYREF result = sub_5614C(a1, a2, a3, a4, a5, a6 & 1); if ( !(_DWORD)result ) { v9 = *(_QWORD *)(a1 + 472); if ( v9 && *(_QWORD *)(a1 + 32) ) { if ( (a6 & 1) != 0 && (*(_BYTE *)(v9 + 56) & 0x10) != 0 ) { return 0; } else { result = sub_5C50C(a1, 4294967294LL, &v11); if ( !(_DWORD)result ) { v10 = v11; if ( (*(_DWORD *)(a1 + 72) & 0x10000) != 0 ) sub_B0C2C(v11); return sub_B0C20(v10); } } } else { return 30; } } return result; }