// // SetupInstantCountPopup::onCountType from 0x1006bcfd0 to 0x1006bd0a1 (209 bytes) // // 3 xrefs: // > SetupInstantCountPopup::init @ 0x1006bc8a8 // > SetupInstantCountPopup::init @ 0x1006bc95a // > SetupInstantCountPopup::init @ 0x1006bca12 // // 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:35:30 +0000 // __int64 __fastcall SetupInstantCountPopup::onCountType(__int64 a1, __int64 a2) { int v3; // eax __int64 result; // rax __int64 v5; // rdi unsigned int v6; // r14d v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2); *(_DWORD *)(a1 + 1056) = v3; CCMenuItemToggler::toggle(*(_QWORD *)(a1 + 1064), v3 == 0); CCMenuItemToggler::toggle(*(_QWORD *)(a1 + 1072), *(_DWORD *)(a1 + 1056) == 1); CCMenuItemToggler::toggle(*(_QWORD *)(a1 + 1080), *(_DWORD *)(a1 + 1056) == 2); result = *(_QWORD *)(a1 + 680); if ( result ) { *(_DWORD *)(result + 1844) = *(_DWORD *)(a1 + 1056); } else { v5 = *(_QWORD *)(a1 + 688); if ( v5 ) { result = sub_1007FEF90(v5); if ( (_DWORD)result ) { v6 = 0; do { *(_DWORD *)(sub_1007FEFE0(*(_QWORD *)(a1 + 688), v6++) + 1844) = *(_DWORD *)(a1 + 1056); result = sub_1007FEF90(*(_QWORD *)(a1 + 688)); } while ( v6 < (unsigned int)result ); } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source