// // sub_8118B4 from 0x8118b4 to 0x811910 (92 bytes) // // 4 xrefs: // > sub_811914 @ 0x81191c // > pugi::xml_node::prepend_child @ 0x812f18 // > pugi::xml_node::insert_child_before @ 0x812fb6 // > pugi::xml_node::insert_child_after @ 0x813062 // // 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 // char *__fastcall sub_8118B4(int *a1, int a2) { int v4; // r3 char *result; // r0 int v6; // r0 _DWORD v7[2]; // [sp+0h] [bp-8h] BYREF v7[0] = a1; v7[1] = a2; v4 = a1[1]; if ( (unsigned int)(v4 + 32) <= 0x8000 ) { v6 = *a1; a1[1] = v4 + 32; v7[0] = v6; result = (char *)(v6 + v4 + 24); } else { result = sub_810228((int)a1, 0x20u, v7); } if ( result ) { *(_DWORD *)result = (a2 - 1) | v7[0]; *((_DWORD *)result + 1) = 0; *((_DWORD *)result + 2) = 0; *((_DWORD *)result + 3) = 0; *((_DWORD *)result + 4) = 0; *((_DWORD *)result + 5) = 0; *((_DWORD *)result + 6) = 0; *((_DWORD *)result + 7) = 0; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source