// // sub_100662D50 from 0x100662d50 to 0x100662dfc (172 bytes) // // 1 xrefs: // > sub_100660A0C @ 0x100660d28 // // 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_100662D50(__int64 a1, __int64 a2) { __int64 v2; // x19 __int64 v5; // x0 v2 = a2; if ( (int)a2 < 1 ) { if ( sub_10065FEFC(a1) ) { if ( (sub_100664E84(a1) & 0x3000) != 0 || *(_DWORD *)(a1 + 668) ) return sub_10065FCF4(a1); v5 = sub_1006649A0(a1); sub_100700784(v5, 1); } } else { fprintf(__stderrp, "invalid state reached %s:%d", "d1_both.c", 1056); return 1; } return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source