// // SetupEnterTriggerPopup::onEnterType from 0x14039aa50 to 0x14039ab34 (228 bytes) // // 3 xrefs: // > SetupEnterTriggerPopup::init @ 0x14039a6d6 // > SetupEnterTriggerPopup::init @ 0x14039a7c0 // > @ 0x1409232e8 // // 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 11:31:14 +0000 // unsigned int __fastcall SetupEnterTriggerPopup::onEnterType(__int64 a1, __int64 a2) { int v2; // ebx __int64 v5; // rdx unsigned int v6; // esi int v7; // eax __int64 v8; // rdx __int64 v9; // rcx unsigned int result; // eax struct cocos2d::CCObject *v11; // rax v2 = *(_DWORD *)(a1 + 1016); v6 = 0; if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2) == v2 ) v7 = 0; else v7 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2); *(_DWORD *)(a1 + 1016) = v7; LOBYTE(v5) = v7 == 1; CCMenuItemToggler::toggle(*(_QWORD *)(a1 + 1000), v5); LOBYTE(v8) = *(_DWORD *)(a1 + 1016) == 2; CCMenuItemToggler::toggle(*(_QWORD *)(a1 + 1008), v8); v9 = *(_QWORD *)(a1 + 680); if ( v9 ) { result = *(_DWORD *)(a1 + 1016); *(_DWORD *)(v9 + 1856) = result; } else { result = cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 688)); if ( result ) { do { v11 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 688), v6++); *((_DWORD *)v11 + 464) = *(_DWORD *)(a1 + 1016); result = cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 688)); } while ( v6 < result ); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source