// // sub_8484F4 from 0x8484f4 to 0x84854e (90 bytes) // // 0 xrefs: // // 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:25 +0000 // int __fastcall sub_8484F4(int a1, const char **a2) { int v3; // r3 const char *v4; // r5 bool v5; // zf int v6; // r3 int v7; // t1 bool v8; // zf const char *v9; // r2 int v10; // r3 int v11; // t1 bool v12; // zf unsigned int v13; // r3 char v14; // r4 int v15; // r3 int result; // r0 v3 = *(unsigned __int8 *)(a1 + 2); v4 = (const char *)(a1 + 2); v5 = v3 == 32; if ( v3 != 32 ) v5 = v3 == 9; if ( v5 ) { do { v7 = *(unsigned __int8 *)++v4; v6 = v7; v8 = v7 == 32; if ( v7 != 32 ) v8 = v6 == 9; } while ( v8 ); } v9 = &v4[strlen(v4)]; do { result = v9 - v4; if ( v9 == v4 ) { *a2 = v4; return result; } v11 = *(unsigned __int8 *)--v9; v10 = v11; v12 = v11 == 32; if ( v11 != 32 ) v12 = v10 == 13; v13 = v10 - 9; v14 = !v12; if ( v13 > 1 ) v15 = v14 & 1; else v15 = 0; } while ( !v15 ); v4[result] = 0; *a2 = v4; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source