// // sub_9400FC from 0x9400fc to 0x940182 (134 bytes) // // 1 xrefs: // > sub_9329C8 @ 0x932dae // // 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:06 +0000 // int __fastcall sub_9400FC(int a1, int a2, int a3, int a4) { _DWORD *v4; // r8 _DWORD *v8; // r9 int v9; // r6 int v10; // r4 char *v11; // r11 unsigned int v12; // t1 int v13; // lr unsigned int v14; // r3 int v15; // r2 int v16; // r0 int v18; // [sp+4h] [bp-8h] v4 = *(_DWORD **)a1; v18 = a4; if ( *(_DWORD *)a1 ) { do { v8 = (_DWORD *)*v4; v9 = 0; if ( !*v4 ) v9 = *(_DWORD *)(a1 + 12); v10 = *(_DWORD *)(a1 + 16); v11 = (char *)v4 + 2 * v10 + 4; while ( 1 ) { v16 = a2; if ( v9 >= v10 ) break; v12 = *((unsigned __int16 *)v11 - 1); v11 -= 2; --v10; v13 = v12 & 0x3FFF; v14 = v12 >> 15; v15 = (unsigned __int8)v12; if ( (v12 & 0x4000) != 0 ) v16 = a2; else v15 = *(unsigned __int8 *)(a3 + v13); sub_9436D4(v16, v14, v15); } if ( v18 ) WebPSafeFree(v4); v4 = v8; } while ( v8 ); a4 = v18; } if ( a4 ) *(_DWORD *)a1 = 0; return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source