// // sub_810108 from 0x810108 to 0x81018e (134 bytes) // // 1 xrefs: // > sub_81406C @ 0x814b1a // // 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:36 +0000 // _BYTE *__fastcall sub_810108(_BYTE *a1) { _BYTE *v1; // r1 int v2; // r4 _BYTE *v4; // [sp+4h] [bp-14h] BYREF _DWORD v5[2]; // [sp+Ch] [bp-Ch] BYREF v4 = a1; v5[0] = 0; v5[1] = 0; while ( 1 ) { while ( 1 ) { v1 = v4; v2 = (unsigned __int8)*v4; if ( (a7[v2] & 1) == 0 ) goto LABEL_3; if ( v2 == 60 ) { *(_BYTE *)sub_80FCC2((int)v5, (int)v4) = 0; return v4 + 1; } if ( v2 != 13 ) break; ++v4; *v1 = 10; if ( *v4 == 10 ) sub_80FE34(v5, &v4, 1); } if ( !*v4 ) break; LABEL_3: ++v4; } *(_BYTE *)sub_80FCC2((int)v5, (int)v4) = 0; return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source