// // sub_940484 from 0x940484 to 0x940566 (226 bytes) // // 1 xrefs: // > sub_93F008 @ 0x93f122 // // 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_940484(int a1, int a2) { char *v3; // r3 char *v4; // r9 char *v5; // r8 int v6; // r7 int v7; // r4 char *v8; // r10 char *v9; // r5 int v10; // r11 int v11; // t1 int v12; // r1 int v13; // t1 int v14; // t1 int result; // r0 char *v16; // [sp+0h] [bp-24h] char *v17; // [sp+4h] [bp-20h] int v18; // [sp+8h] [bp-1Ch] char *v19; // [sp+Ch] [bp-18h] int v20; // [sp+10h] [bp-14h] char *v21; // [sp+14h] [bp-10h] int v22; // [sp+18h] [bp-Ch] v20 = a2 + 14; v22 = a2 + 1070; v16 = (char *)&unk_C48108; v21 = (char *)&unk_C4888F; do { v19 = v16 + 264; v17 = v21; v18 = v20; v3 = v16; do { v4 = v17; v5 = v3 - 33; v6 = v18; do { v7 = v6 - 11; v8 = v4; v9 = v5; do { while ( 1 ) { v11 = *(unsigned __int8 *)++v7; v10 = v11; v13 = (unsigned __int8)*++v9; v12 = v13; v14 = (unsigned __int8)*++v8; if ( sub_9436D4(a1, v12 != v10, v14) ) break; if ( v7 == v6 ) goto LABEL_8; } sub_943924(a1, v10, 8); } while ( v7 != v6 ); LABEL_8: v5 += 11; v6 = v7 + 11; v4 += 11; } while ( v16 != v5 ); v3 = v16 + 33; v16 = v3; v18 += 33; v17 += 33; } while ( v3 != v19 ); v21 += 264; v20 += 264; } while ( v20 != v22 ); result = sub_943800(a1, *(_DWORD *)(a2 + 19112)); if ( result ) return sub_943924(a1, *(unsigned __int8 *)(a2 + 3), 8); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source