// // sub_10066DD04 from 0x10066dd04 to 0x10066dea0 (412 bytes) // // 1 xrefs: // > sub_100659D30 @ 0x100659f98 // // 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:11:05 +0000 // __int64 __fastcall sub_10066DD04(__int64 a1, unsigned __int8 *a2, int a3, _DWORD *a4) { __int64 v6; // x8 int v7; // w23 bool v8; // zf int v9; // w8 __int64 v10; // x22 size_t v11; // x21 __int64 v12; // x4 __int64 v13; // x2 __int64 v14; // x4 v6 = *(_QWORD *)(a1 + 128); v7 = *(unsigned __int8 *)(v6 + 1185) + *(unsigned __int8 *)(v6 + 1120); if ( *(_BYTE *)(v6 + 1120) ) v8 = 1; else v8 = v7 == 0; if ( !v8 ) sub_1006AE64C((char)"t1_reneg.c"); if ( v7 ) { if ( !*(_BYTE *)(*(_QWORD *)(a1 + 128) + 1185LL) ) sub_1006AE64C((char)"t1_reneg.c"); } if ( a3 <= 0 ) { v13 = 336; v14 = 246; LABEL_16: sub_100706FB0(20, 301, v13, "t1_reneg.c", v14); *a4 = 47; return 0; } v9 = *a2; if ( v9 + 1 != a3 ) { v13 = 336; v14 = 256; goto LABEL_16; } if ( v9 != v7 ) { v12 = 264; goto LABEL_18; } v10 = *(_QWORD *)(a1 + 128); v11 = *(unsigned __int8 *)(v10 + 1120); if ( memcmp(a2 + 1, (const void *)(v10 + 1056), v11) ) { v12 = 272; LABEL_18: sub_100706FB0(20, 301, 337, "t1_reneg.c", v12); *a4 = 40; return 0; } if ( memcmp(&a2[v11 + 1], (const void *)(v10 + 1121), *(unsigned __int8 *)(v10 + 1185)) ) { v13 = 337; v14 = 281; goto LABEL_16; } *(_DWORD *)(v10 + 1188) = 1; return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source