// // sub_100662A94 from 0x100662a94 to 0x100662b4c (184 bytes) // // 2 xrefs: // > sub_10065DE8C @ 0x10065e308 // > sub_10065EBB0 @ 0x10065ee94 // // 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:59 +0000 // __int64 __fastcall sub_100662A94(__int64 a1, int a2, int a3) { _BYTE *v5; // x11 __int64 v6; // x9 __int16 v7; // w10 if ( *(_DWORD *)(a1 + 72) == a2 ) { v5 = *(_BYTE **)(*(_QWORD *)(a1 + 80) + 8LL); *v5 = 1; v6 = *(_QWORD *)(a1 + 136); v7 = *(_WORD *)(v6 + 562); *(_WORD *)(v6 + 560) = v7; *(_DWORD *)(a1 + 96) = 1; if ( *(_DWORD *)a1 == 256 ) { *(_WORD *)(v6 + 562) = v7 + 1; v5[1] = HIBYTE(v7); v5[2] = *(_BYTE *)(*(_QWORD *)(a1 + 136) + 560LL); *(_DWORD *)(a1 + 96) += 2; v6 = *(_QWORD *)(a1 + 136); v7 = *(_WORD *)(v6 + 560); } *(_DWORD *)(a1 + 100) = 0; *(_BYTE *)(v6 + 656) = 1; *(_QWORD *)(v6 + 664) = 0; *(_WORD *)(v6 + 672) = v7; *(_QWORD *)(v6 + 688) = 0; *(_QWORD *)(v6 + 680) = 0; sub_100662B4C(a1, 1); *(_DWORD *)(a1 + 72) = a3; } return sub_100661C44((unsigned int *)a1, 20); }
GD Web Decomp Icon

GD Web Decomp

Raw Source