// // sub_1006569E8 from 0x1006569e8 to 0x100656b48 (352 bytes) // // 1 xrefs: // > sub_10064E4D8 @ 0x10064e600 // // 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 11:10:53 +0000 // __int64 __fastcall sub_1006569E8(__int64 a1, __int64 a2) { __int64 v3; // x8 __int64 v4; // x20 char v5; // w8 __int64 result; // x0 int v7; // w8 __int64 v8; // x8 _BYTE v9[2]; // [xsp+Ch] [xbp-14h] BYREF char v10; // [xsp+Eh] [xbp-12h] BYREF unsigned __int8 v11; // [xsp+Fh] [xbp-11h] v3 = *(_QWORD *)(a1 + 256); v4 = *(_QWORD *)(v3 + 88); if ( (*(_BYTE *)(v3 + 110) & 3) != 0 ) { if ( a2 == 50380844 ) { v5 = 24; } else { if ( a2 != 50380843 ) return 0; v5 = 23; } v11 = v5; v10 = 0; v7 = sub_100656B48(a1, &v10, 0); result = 0; if ( v7 ) { v8 = *(_QWORD *)(a1 + 256); if ( *(_DWORD *)(v8 + 104) ) { return 1; } else if ( *(_QWORD *)(v8 + 96) ) { return 1; } else if ( v4 ) { if ( (unsigned int)sub_100656D34(v9, 0, v4) ) return !v9[0] || v9[1] == v11; else return 0; } else { return 0; } } } else if ( *(_DWORD *)(v3 + 104) ) { return (unsigned int)sub_1006562E0(a1, 0) != 0; } else if ( v4 ) { if ( (unsigned int)sub_100656D34(&v10, 0, *(_QWORD *)(v3 + 88)) ) return sub_100656B48(a1, &v10, 0); else return 0; } else { return *(_QWORD *)(v3 + 96) != 0; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source