// // sub_81A2F2 from 0x81a2f2 to 0x81a392 (160 bytes) // // 1 xrefs: // > sub_819400 @ 0x81944e // // 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 12:01:44 +0000 // int *__fastcall sub_81A2F2(int a1) { int v1; // r4 int v2; // r3 int *result; // r0 int v4; // r1 int v5; // r3 int *v6; // r0 int *v7; // r5 int *v8; // r0 v1 = a1; v2 = *(_DWORD *)(a1 + 20); if ( v2 != 16 ) { if ( v2 != 17 ) { v4 = 0; return sub_81A290(a1, v4); } sub_80F84C((unsigned __int8 **)(a1 + 4)); v6 = sub_8101B8((int **)v1); v7 = v6; if ( v6 ) { *(_BYTE *)v6 = 58; *((_BYTE *)v6 + 1) = 1; *((_BYTE *)v6 + 2) = 0; *((_BYTE *)v6 + 3) = 0; v6[1] = 0; v6[2] = 0; v6[3] = 0; } v8 = sub_8101B8((int **)v1); v4 = (int)v8; if ( v8 ) { v8[1] = (int)v7; *(_BYTE *)v8 = 57; *((_BYTE *)v8 + 1) = 1; *((_BYTE *)v8 + 2) = 5; *((_BYTE *)v8 + 3) = 2; v8[2] = 0; v8[3] = 0; v8[4] = 0; } LABEL_13: a1 = v1; return sub_81A290(a1, v4); } sub_80F84C((unsigned __int8 **)(a1 + 4)); result = sub_8101B8((int **)v1); v4 = (int)result; if ( result ) { *(_BYTE *)result = 58; *((_BYTE *)result + 1) = 1; *((_BYTE *)result + 2) = 0; *((_BYTE *)result + 3) = 0; result[1] = 0; result[2] = 0; result[3] = 0; } v5 = *(_DWORD *)(v1 + 20); if ( v5 == 20 || (unsigned int)(v5 - 22) <= 2 || v5 == 9 ) goto LABEL_13; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source