// // SetupPulsePopup::onSelectPulseMode from 0x1003b63a8 to 0x1003b6554 (428 bytes) // // 2 xrefs: // > SetupPulsePopup::init @ 0x1003b5bd4 // > SetupPulsePopup::init @ 0x1003b46a8 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void __fastcall SetupPulsePopup::onSelectPulseMode(SetupPulsePopup *a1, cocos2d::CCObject *a2) { int v3; // w20 ButtonSprite *v4; // x0 const char *v5; // x1 ButtonSprite *v6; // x0 const char *v7; // x1 unsigned int v8; // w21 __int64 v9; // x0 unsigned int v10; // w21 __int64 v11; // x0 if ( a2 ) v3 = ((__int64 (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2); else v3 = -1; v4 = (ButtonSprite *)((__int64 (__fastcall *)(CCMenuItemSpriteExtra *))a1->m_colorButton->getNormalImage)(a1->m_colorButton); if ( v3 ) v5 = "GJ_button_04.png"; else v5 = "GJ_button_02.png"; ButtonSprite::updateBGImage(v4, v5); v6 = (ButtonSprite *)((__int64 (__fastcall *)(CCMenuItemSpriteExtra *))a1->m_hsvButton->getNormalImage)(a1->m_hsvButton); if ( v3 == 1 ) v7 = "GJ_button_02.png"; else v7 = "GJ_button_04.png"; ButtonSprite::updateBGImage(v6, v7); if ( (unsigned int)sub_10024A36C((__int64)a1->m_colorObjects) ) { v8 = 0; do { v9 = sub_10024A388((__int64)a1->m_colorObjects, v8); (*(void (__fastcall **)(__int64, bool))(*(_QWORD *)v9 + 328LL))(v9, v3 == 0); ++v8; } while ( v8 < (unsigned int)sub_10024A36C((__int64)a1->m_colorObjects) ); } if ( (unsigned int)sub_10024A36C((__int64)a1->m_hsvObjects) ) { v10 = 0; do { v11 = sub_10024A388((__int64)a1->m_hsvObjects, v10); (*(void (__fastcall **)(__int64, bool))(*(_QWORD *)v11 + 328LL))(v11, v3 == 1); ++v10; } while ( v10 < (unsigned int)sub_10024A36C((__int64)a1->m_hsvObjects) ); } ((void (__fastcall *)(CCTextInputNode *, bool))a1->m_colorIDInput->setTouchEnabled)(a1->m_colorIDInput, v3 == 1); ((void (__fastcall *)(CCTextInputNode *, bool))a1->m_rInput->setTouchEnabled)(a1->m_rInput, v3 == 0); ((void (__fastcall *)(CCTextInputNode *, bool))a1->m_gInput->setTouchEnabled)(a1->m_gInput, v3 == 0); ((void (__fastcall *)(CCTextInputNode *, bool))a1->m_bInput->setTouchEnabled)(a1->m_bInput, v3 == 0); ((void (__fastcall *)(CCTextInputNode *, bool))a1->m_hexInput->setTouchEnabled)(a1->m_hexInput, v3 == 0); a1->m_pulseMode = v3; if ( !a1->m_modesInitializing ) SetupPulsePopup::updatePulseMode(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source