// // sub_952008 from 0x952008 to 0x9520ac (164 bytes) // // 2 xrefs: // > sub_9520B0 @ 0x952122 // > sub_9520B0 @ 0x95213e // // 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:05:24 +0000 // unsigned __int8 *__fastcall sub_952008(unsigned __int8 *result, char *a2, int a3) { char *v3; // r7 unsigned __int8 *v4; // r9 char *i; // r4 char *v6; // r0 unsigned int v7; // r5 int v8; // r2 unsigned int v9; // r3 bool v10; // cc unsigned __int8 *v11; // [sp+4h] [bp-10h] BYREF unsigned __int8 *v12; // [sp+8h] [bp-Ch] BYREF v3 = &a2[a3]; v4 = result; for ( i = a2; i < v3 && *i != 10; i = (char *)v7 ) { v6 = (char *)memchr(i, 44, v3 - i); v7 = (unsigned int)(v6 ? v6 : v3); result = sub_951DEC((unsigned __int8 *)i, v7, 10, &v11); if ( !result ) break; v12 = v11; if ( (unsigned int)result < v7 && *result == 45 ) { result = sub_951DEC(result + 1, v7, 10, &v12); if ( !result ) break; } v9 = (unsigned int)v11; result = v12; while ( (int)v9 <= (int)result ) { v10 = v9 > 0x1F; if ( v9 <= 0x1F ) v8 = 1 << v9; ++v9; if ( !v10 ) { v8 |= *(_DWORD *)v4; *(_DWORD *)v4 = v8; } } if ( v7 < (unsigned int)v3 ) ++v7; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source