// // sub_811294 from 0x811294 to 0x811388 (244 bytes) // // 3 xrefs: // > sub_812344 @ 0x8123b4 // > sub_812514 @ 0x8126f2 // > sub_812514 @ 0x812790 // // 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 // void *__fastcall sub_811294(void *result, unsigned __int8 *a2, unsigned __int8 a3) { int v3; // r5 unsigned __int8 *v6; // r2 unsigned __int8 *v7; // r6 unsigned int v8; // r1 int *v9; // r4 int v10; // r3 _BYTE *v11; // r2 v3 = (int)result; while ( *a2 ) { v6 = a2; do v7 = v6++; while ( ((unsigned __int8)a7[*v7 + 256] & a3) == 0 ); result = sub_811200(v3, a2, v7 - a2); v8 = *v7; if ( v8 == 38 ) { result = (void *)sub_810F9A(v3, 38, 97, 109, 112, 59); goto LABEL_18; } if ( v8 > 0x26 ) { a2 = v7 + 1; if ( v8 == 60 ) { result = (void *)sub_810FDA(v3, 38, 108, 116, 59); } else { if ( v8 != 62 ) goto LABEL_19; result = (void *)sub_810FDA(v3, 38, 103, 116, 59); } } else if ( *v7 ) { if ( v8 == 34 ) { v9 = (int *)(v3 + 10244); if ( (unsigned int)(*(_DWORD *)(v3 + 10244) + 6) > 0x800 ) result = (void *)sub_810F28(v3); v10 = *v9; *(_BYTE *)(v3 + v10) = 38; v11 = (_BYTE *)(v3 + v10); v11[1] = 113; v11[2] = 117; v11[3] = 111; v11[4] = 116; v11[5] = 59; *v9 = v10 + 6; LABEL_18: a2 = v7 + 1; } else { LABEL_19: a2 = v7 + 1; result = (void *)sub_810F9A(v3, 38, 35, *v7 / 0xAu + 48, *v7 % 0xAu + 48, 59); } } else { a2 = v7; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source