// // sub_884E24 from 0x884e24 to 0x884eda (182 bytes) // // 5 xrefs: // > sub_885034 @ 0x8852ac // > sub_8852BC @ 0x8853fe // > sub_88540C @ 0x885462 // > sub_88546C @ 0x8855aa // > sub_8855B4 @ 0x885720 // // 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:03:13 +0000 // int __fastcall sub_884E24(_DWORD *a1) { _DWORD *v2; // r7 int result; // r0 int v4; // r5 _DWORD *v5; // r8 _DWORD *v6; // r6 int v7; // r9 int v8; // t1 v2 = (_DWORD *)a1[117]; if ( !(*(int (**)(void))(a1[116] + 8))() ) { *(_DWORD *)(*a1 + 20) = 25; (*(void (__fastcall **)(_DWORD *))*a1)(a1); } result = a1[85]; if ( result > 0 ) { v4 = 0; v5 = a1 + 85; v6 = v2 + 6; while ( 1 ) { v8 = v5[1]; ++v5; v7 = v8; if ( !a1[56] ) break; if ( a1[103] ) goto LABEL_10; if ( !a1[105] ) break; LABEL_12: ++v4; ++v6; if ( result <= v4 ) goto LABEL_13; } memset((void *)v2[*(_DWORD *)(v7 + 20) + 15], 0, 0x40u); *v6 = 0; v6[4] = 0; if ( a1[56] ) { if ( !a1[103] ) goto LABEL_11; } else if ( !a1[109] ) { LABEL_11: result = a1[85]; goto LABEL_12; } LABEL_10: memset((void *)v2[*(_DWORD *)(v7 + 24) + 31], 0, 0x100u); goto LABEL_11; } LABEL_13: v2[3] = 0; v2[4] = 0; v2[5] = -16; v2[14] = a1[70]; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source