// // sub_819EC from 0x819ec to 0x81a4a (94 bytes) // // 10 xrefs: // > sub_81840 @ 0x8186a // > sub_81A50 @ 0x81ade // > sub_81A50 @ 0x81b1c // > sub_81A50 @ 0x81b74 // > sub_81A50 @ 0x81bd2 // > sub_82310 @ 0x8232a // > sub_82310 @ 0x82380 // > sub_8247E @ 0x82496 // > sub_82580 @ 0x8259a // > sub_825EA @ 0x825fc // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:41:17 +0000 // int __fastcall sub_819EC(int a1, _DWORD *a2) { int i; // r4 int result; // r0 unsigned int v6; // r0 unsigned __int8 v7; // [sp+7h] [bp-19h] BYREF for ( i = 0; ; ++i ) { result = sub_BBA38(*(_DWORD *)(a1 + 220), &v7); if ( result ) break; v6 = v7 - 9; if ( v6 > 0x17 || ((1 << v6) & 0x800013) == 0 ) { result = sub_BBB84(*(_DWORD *)(a1 + 220), -1); if ( !result ) { result = 0; if ( a2 ) *a2 = i; } return result; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source