// // sub_81572C from 0x81572c to 0x8157fc (208 bytes) // // 24 xrefs: // > sub_815800 @ 0x81581a // > sub_815800 @ 0x81583a // > sub_815860 @ 0x8158a2 // > sub_815920 @ 0x815938 // > sub_815920 @ 0x815966 // > sub_8159E4 @ 0x815a48 // > sub_815AB0 @ 0x815b3e // > sub_815B5C @ 0x815bde // > sub_815B5C @ 0x815c70 // > sub_815D54 @ 0x815d96 // > sub_816CF0 @ 0x816e86 // > sub_816CF0 @ 0x816eb0 // > sub_816CF0 @ 0x816f06 // > sub_816CF0 @ 0x816f30 // > sub_816CF0 @ 0x817146 // > sub_816CF0 @ 0x8171ce // > sub_816CF0 @ 0x81722a // > sub_816CF0 @ 0x817510 // > sub_816CF0 @ 0x81756c // > sub_816CF0 @ 0x817608 // > sub_816CF0 @ 0x81767c // > sub_816CF0 @ 0x8177ae // > sub_816CF0 @ 0x81780a // > sub_816CF0 @ 0x817874 // // 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:41 +0000 // char *__fastcall sub_81572C(int a1, _DWORD *a2, pugi::xml_node *a3, int a4) { char *result; // r0 bool v9; // zf bool v10; // zf const char *v11; // r0 void *v12; // r0 int v13[3]; // [sp+4h] [bp-Ch] BYREF v13[0] = (int)a2; v13[1] = (int)a3; v13[2] = a4; result = (char *)pugi::xml_node::operator!(a3); if ( !result ) { switch ( *(_BYTE *)(a1 + 3) ) { case 1: result = (char *)pugi::xml_node::type(a3); v9 = result == (_BYTE *)&dword_0 + 2; goto LABEL_9; case 2: goto LABEL_19; case 3: result = (char *)pugi::xml_node::type(a3); v10 = result == &byte_5; goto LABEL_13; case 4: result = (char *)pugi::xml_node::type(a3); v10 = result == &byte_6; goto LABEL_13; case 5: if ( pugi::xml_node::type(a3) == (int *)((char *)&dword_0 + 3) ) goto LABEL_19; result = (char *)pugi::xml_node::type(a3); v10 = result == (char *)&byte_4; LABEL_13: if ( !v10 ) return result; goto LABEL_19; case 6: result = (char *)pugi::xml_node::type(a3); v9 = result == &byte_6; LABEL_9: if ( !v9 ) return result; v11 = (const char *)pugi::xml_node::name(a3); result = (char *)sub_80FCB4(v11, *(const char **)(a1 + 16)); goto LABEL_18; case 7: result = (char *)pugi::xml_node::type(a3); v10 = result == (_BYTE *)&dword_0 + 2; goto LABEL_13; case 8: result = (char *)pugi::xml_node::type(a3); if ( result != (_BYTE *)&dword_0 + 2 ) return result; v12 = pugi::xml_node::name(a3); result = (char *)sub_80F798((int)v12, *(_DWORD *)(a1 + 16)); LABEL_18: if ( result ) { LABEL_19: pugi::xpath_node::xpath_node((pugi::xpath_node *)v13, a3); result = (char *)sub_81114C(a2, v13, a4); } break; default: return result; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source