// // sub_10065615C from 0x10065615c to 0x1006562e0 (388 bytes) // // 1 xrefs: // > sub_100649644 @ 0x100649c88 // // 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_10065615C(__int64 a1, _BYTE *a2, __int64 a3) { __int64 v3; // x10 int v4; // w11 __int64 v5; // x9 __int64 v6; // x8 unsigned __int8 *v7; // x8 unsigned __int64 v8; // x9 unsigned __int64 v9; // x9 unsigned __int64 v10; // x10 if ( a3 != 3 || *a2 != 3 ) return 0; v3 = *(_QWORD *)(a1 + 256); v4 = *(_DWORD *)(v3 + 108) & 0x30000; if ( v4 ) { if ( !a2[1] ) { v5 = *(_QWORD *)(*(_QWORD *)(*(_QWORD *)(a1 + 128) + 936LL) + 16LL); if ( v5 == 50380844 ) { if ( a2[2] == 24 ) { LABEL_10: v7 = (unsigned __int8 *)&unk_100792968; v8 = 2; switch ( v4 ) { case 196608: goto LABEL_26; case 131072: v7 = (unsigned __int8 *)&unk_10079296A; LABEL_15: v8 = 1; goto LABEL_26; case 65536: v7 = (unsigned __int8 *)&unk_100792968; goto LABEL_15; } goto LABEL_16; } } else { v6 = 0; if ( v5 != 50380843 ) return v6; if ( a2[2] == 23 ) goto LABEL_10; } } return 0; } LABEL_16: v7 = *(unsigned __int8 **)(a1 + 560); if ( !v7 ) { v8 = 13; if ( *(_DWORD *)(a1 + 56) ) { v8 = 13; if ( *(_DWORD *)(v3 + 104) ) { v7 = (unsigned __int8 *)&unk_10079296C; } else { v8 = 28; v7 = (unsigned __int8 *)&unk_10079290C; } } else { v7 = (unsigned __int8 *)&unk_10079296C; } goto LABEL_26; } v9 = *(_QWORD *)(a1 + 552); if ( (v9 & 1) != 0 ) { sub_100706FB0(20, 338, 68, "t1_lib.c", 512); return 0; } v8 = v9 >> 1; if ( !v8 ) return 0; LABEL_26: v10 = 0; while ( (unsigned __int8)a2[1] != *v7 || (unsigned __int8)a2[2] != v7[1] ) { ++v10; v7 += 2; if ( v10 >= v8 ) return 0; } return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source