// // sub_6404C from 0x6404c to 0x640a0 (84 bytes) // // 1 xrefs: // > @ 0x10c8f8 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:13:54 +0000 // // positive sp value has been detected, the output may be wrong! __int64 __fastcall sub_6404C(__int64 a1, __int64 a2, __int64 a3, __int64 a4) { unsigned __int8 v4; // w20 _QWORD *v5; // x23 _QWORD *v6; // x24 __int64 v7; // x30 __int64 result; // x0 __int64 v9; // x0 __int64 v10; // x8 result = ((__int64 (__fastcall *)(__int64, __int64, __int64, __int64, __int64))sub_642F4)(a1, a2, a3, a4, v7); while ( 1 ) { v6 = (_QWORD *)*v6; if ( v6 == v5 ) break; result = ((__int64 (__fastcall *)(__int64))sub_64228)(result); if ( (unsigned __int8)result == v4 ) { v9 = sub_642C4(); result = (*(__int64 (__fastcall **)(__int64))(v10 + 80))(v9); if ( (_DWORD)result ) return result; } } return 0; }