// // sub_E891E8 from 0xe891e8 to 0xe893ac (452 bytes) // // 2 xrefs: // > jinit_master_decompress @ 0xe89850 // > jinit_master_decompress @ 0xe89858 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 13:10:52 +0000 // __int64 __fastcall sub_E891E8(__int64 a1) { __int64 v1; // x20 __int64 result; // x0 __int64 v4; // x1 __int64 v5; // x1 int v6; // w0 int v7; // w3 int v8; // w4 int v9; // w2 void (**v10)(void); // x2 void (__fastcall *v11)(__int64); // x2 v1 = *(_QWORD *)(a1 + 576); if ( *(_DWORD *)(v1 + 16) ) { v10 = *(void (***)(void))(a1 + 656); *(_DWORD *)(v1 + 16) = 0; (*v10)(); (**(void (__fastcall ***)(__int64, __int64))(a1 + 600))(a1, 2); result = (**(__int64 (__fastcall ***)(__int64, __int64))(a1 + 584))(a1, 2); } else { if ( *(_DWORD *)(a1 + 108) && !*(_QWORD *)(a1 + 160) ) { if ( *(_DWORD *)(a1 + 116) && *(_DWORD *)(a1 + 132) ) { *(_QWORD *)(a1 + 656) = *(_QWORD *)(v1 + 40); *(_DWORD *)(v1 + 16) = 1; } else if ( *(_DWORD *)(a1 + 124) ) { *(_QWORD *)(a1 + 656) = *(_QWORD *)(v1 + 32); } else { v11 = **(void (__fastcall ***)(__int64))a1; *(_DWORD *)(*(_QWORD *)a1 + 40LL) = 47; v11(a1); } } (**(void (__fastcall ***)(__int64))(a1 + 632))(a1); (*(void (__fastcall **)(__int64))(*(_QWORD *)(a1 + 592) + 16LL))(a1); result = *(unsigned int *)(a1 + 92); if ( !(_DWORD)result ) { if ( !*(_DWORD *)(v1 + 28) ) (**(void (__fastcall ***)(__int64))(a1 + 648))(a1); (**(void (__fastcall ***)(__int64))(a1 + 640))(a1); if ( *(_DWORD *)(a1 + 108) ) (**(void (__fastcall ***)(__int64, _QWORD))(a1 + 656))(a1, *(unsigned int *)(v1 + 16)); if ( *(_DWORD *)(v1 + 16) ) v4 = 3; else v4 = 0; (**(void (__fastcall ***)(__int64, __int64))(a1 + 600))(a1, v4); result = (**(__int64 (__fastcall ***)(__int64, _QWORD))(a1 + 584))(a1, 0); } } v5 = *(_QWORD *)(a1 + 16); if ( v5 ) { v6 = *(_DWORD *)(v1 + 24); v7 = *(_DWORD *)(a1 + 88); v8 = *(_DWORD *)(v1 + 16) ? 2 : 1; *(_DWORD *)(v5 + 24) = v6; result = (unsigned int)(v8 + v6); *(_DWORD *)(v5 + 28) = result; if ( v7 ) { if ( !*(_DWORD *)(*(_QWORD *)(a1 + 608) + 36LL) ) { if ( *(_DWORD *)(a1 + 132) ) v9 = 2; else v9 = 1; result = (unsigned int)(v9 + result); *(_DWORD *)(v5 + 28) = result; } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source