// // sub_833598 from 0x833598 to 0x83363a (162 bytes) // // 3 xrefs: // > sub_833644 @ 0x8336f4 // > sub_833644 @ 0x83374a // > sub_833644 @ 0x83380a // // 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:02:10 +0000 // _BYTE *__fastcall sub_833598(int a1, char *a2) { _BOOL4 v2; // r4 _BYTE *result; // r0 _BYTE *v4; // r5 _BYTE *v5; // r2 unsigned int v6; // r3 int v7; // r1 bool v8; // zf int v9; // r0 int v10; // r4 unsigned int v11; // t1 bool v12; // cc int v13; // r4 unsigned int v14; // t1 _BYTE *v15; // [sp+8h] [bp-8h] BYREF int v16; // [sp+Ch] [bp-4h] BYREF if ( sub_833E74(a1, a2, 0, (int)&v15, (int)&v16, 0) ) v2 = 1; else v2 = v15 == nullptr; result = nullptr; if ( !v2 ) { v4 = off_D200AC(2 * v16 + 1); if ( v4 ) { v5 = v15; v6 = (unsigned __int8)*v15; if ( *v15 ) { v7 = 0; do { while ( 1 ) { v12 = v6 > 0x7F; if ( v6 != 127 ) v12 = v6 > 0x20; v13 = v7 + 1; if ( !v12 ) break; v8 = v6 == 34; if ( v6 != 34 ) v8 = v6 == 39; v9 = v8; if ( v6 == 92 ) v9 |= 1u; if ( v9 ) break; v10 = v7++; v4[v10] = v6; v11 = (unsigned __int8)*++v5; v6 = v11; if ( !v11 ) goto LABEL_21; } v4[v7] = 92; v7 += 2; v4[v13] = v6; v14 = (unsigned __int8)*++v5; v6 = v14; } while ( v14 ); } else { v7 = (unsigned __int8)*v15; } LABEL_21: v4[v7] = 0; } off_D200B0(v15); return v4; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source