// // sub_E8AFCC from 0xe8afcc to 0xe8b0e4 (280 bytes) // // 1 xrefs: // > jinit_d_post_controller @ 0xe8b3a4 // // 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 *__fastcall sub_E8AFCC(__int64 (__fastcall *result)(), int a2))() { __int64 v2; // x19 __int64 (__fastcall *v3)(__int64 (__fastcall *)()); // x2 __int64 v4; // x3 void (__fastcall *v5)(__int64 (__fastcall *)()); // x3 void (__fastcall *v6)(__int64 (__fastcall *)()); // x2 v2 = *((_QWORD *)result + 75); if ( a2 == 2 ) { if ( !*(_QWORD *)(v2 + 16) ) { v6 = **(void (__fastcall ***)(__int64 (__fastcall *)()))result; *(_DWORD *)(*(_QWORD *)result + 40LL) = 3; v6(result); } *(_DWORD *)(v2 + 40) = 0; *(_DWORD *)(v2 + 36) = 0; *(_QWORD *)(v2 + 8) = sub_E8B274; return sub_E8B274; } else if ( a2 == 3 ) { if ( !*(_QWORD *)(v2 + 16) ) { v5 = **(void (__fastcall ***)(__int64 (__fastcall *)()))result; *(_DWORD *)(*(_QWORD *)result + 40LL) = 3; v5(result); } *(_DWORD *)(v2 + 40) = 0; *(_DWORD *)(v2 + 36) = 0; *(_QWORD *)(v2 + 8) = sub_E8B170; return sub_E8B170; } else { if ( a2 ) { v3 = **(__int64 (__fastcall ***)(__int64 (__fastcall *)()))result; *(_DWORD *)(*(_QWORD *)result + 40LL) = 3; result = (__int64 (__fastcall *)())v3(result); } else if ( *((_DWORD *)result + 27) ) { v4 = *(_QWORD *)(v2 + 24); *(_QWORD *)(v2 + 8) = sub_E8B0E4; if ( !v4 ) { result = (__int64 (__fastcall *)())(*(__int64 (**)(void))(*((_QWORD *)result + 1) + 56LL))(); *(_QWORD *)(v2 + 24) = result; } } else { result = *(__int64 (__fastcall **)())(*((_QWORD *)result + 80) + 8LL); *(_QWORD *)(v2 + 8) = result; } *(_DWORD *)(v2 + 40) = 0; *(_DWORD *)(v2 + 36) = 0; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source