// // SetupEnterEffectPopup::onEnterType from 0x1003e0620 to 0x1003e06e4 (196 bytes) // // 2 xrefs: // > sub_1003DDDD0 @ 0x1003dfc4c // > sub_1003DDDD0 @ 0x1003dfd49 // // This function is hookable on this platform (idp: pc, 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 12:29:45 +0000 // __int64 __fastcall SetupEnterEffectPopup::onEnterType(__int64 a1, __int64 a2) { int v2; // ecx int v3; // eax __int64 result; // rax unsigned int v5; // r14d v2 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2); v3 = 0; if ( v2 != *(_DWORD *)(a1 + 1048) ) v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2); *(_DWORD *)(a1 + 1048) = v3; CCMenuItemToggler::toggle(*(_QWORD *)(a1 + 1032), v3 == 1); CCMenuItemToggler::toggle(*(_QWORD *)(a1 + 1040), *(_DWORD *)(a1 + 1048) == 2); result = *(_QWORD *)(a1 + 680); if ( result ) { *(_DWORD *)(result + 1840) = *(_DWORD *)(a1 + 1048); } else { result = sub_1007FEF90(*(_QWORD *)(a1 + 688)); if ( (_DWORD)result ) { v5 = 0; do { *(_DWORD *)(sub_1007FEFE0(*(_QWORD *)(a1 + 688), v5++) + 1840) = *(_DWORD *)(a1 + 1048); result = sub_1007FEF90(*(_QWORD *)(a1 + 688)); } while ( v5 < (unsigned int)result ); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source