// // sub_56E64 from 0x56e64 to 0x56ec8 (100 bytes) // // 2 xrefs: // > @ 0x10c530 // > @ 0x10c758 // // 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_56E64(__int64 a1, __int64 a2, _DWORD *a3) { __int64 v3; // x8 __int64 i; // x9 if ( !a2 ) JUMPOUT(0x578E4); if ( a3 ) *a3 = 0; v3 = *(_QWORD *)(a1 + 16); if ( !v3 ) { if ( *(_QWORD *)(a1 + 96) != a2 ) return 9; LABEL_16: JUMPOUT(0x57800); } for ( i = 0; ; ++i ) { if ( i >= *(int *)(a1 + 24) ) return 9; if ( *(_QWORD *)(v3 + 8 * i) == a2 ) break; } if ( !a3 ) goto LABEL_16; *a3 = i; return 0; }