// // sub_81114C from 0x81114c to 0x81118e (66 bytes) // // 3 xrefs: // > sub_81572C @ 0x8157e4 // > sub_815CB4 @ 0x815d34 // > sub_816CF0 @ 0x81793c // // 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:37 +0000 // int __fastcall sub_81114C(_DWORD *a1, int *a2, int a3) { int v4; // r6 int *v6; // r1 int v7; // r6 int *v8; // r0 int *v9; // r3 int result; // r0 int v11; // r1 v4 = a1[2]; if ( v4 == a1[3] ) { v6 = (int *)a1[1]; v7 = v4 - (_DWORD)v6; v8 = sub_8110F0(a3, v6, v7, 8 * ((v7 >> 3) + 1 + ((unsigned int)(v7 >> 3) >> 1))); a1[1] = v8; a1[2] = (char *)v8 + v7; a1[3] = &v8[2 * (v7 >> 3) + 2 + 2 * ((unsigned int)(v7 >> 3) >> 1)]; } v9 = (int *)a1[2]; a1[2] = v9 + 2; result = *a2; v11 = a2[1]; *v9 = *a2; v9[1] = v11; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source