// // sub_80FD38 from 0x80fd38 to 0x80fdc4 (140 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 // int __fastcall sub_80FD38(unsigned __int8 *a1, int a2, int a3, int a4) { unsigned __int8 *v5; // r2 int v6; // r3 int v7; // r4 unsigned int v8; // r0 _BYTE *v9; // r3 int v11; // t1 unsigned int v12; // r0 _BYTE *v13; // r3 int v14; // t1 _DWORD v15[3]; // [sp+4h] [bp-Ch] BYREF v15[2] = a4; v15[0] = 0; v15[1] = 0; v5 = a1; do { do { v6 = *v5; v7 = (int)v5++; } while ( (a7[v6] & 1) == 0 ); if ( v6 == 60 ) { v8 = sub_80FCC2((int)v15, v7); do { v9 = (_BYTE *)v8; if ( v8 <= (unsigned int)a1 ) break; v11 = *(unsigned __int8 *)--v8; } while ( (a7[v11] & 8) != 0 ); *v9 = 0; return v7 + 1; } } while ( v6 ); v12 = sub_80FCC2((int)v15, v7); do { v13 = (_BYTE *)v12; if ( v12 <= (unsigned int)a1 ) break; v14 = *(unsigned __int8 *)--v12; } while ( (a7[v14] & 8) != 0 ); *v13 = 0; return v7; }
GD Web Decomp Icon

GD Web Decomp

Raw Source