// // SetupAreaMoveTriggerPopup::onMode from 0x100035e70 to 0x100036004 (404 bytes) // // 1 xrefs: // > SetupAreaMoveTriggerPopup::addAreaDefaultControls @ 0x1000358b4 // // 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 SetupAreaMoveTriggerPopup::onMode(SetupAreaMoveTriggerPopup *a1, cocos2d::CCObject *a2) { int v4; // w0 __n128 v5; // q0 unsigned int v6; // w21 float v7; // s8 float v9; // s9 __int64 v10; // x21 __int64 v11; // x22 ButtonSprite *v12; // x23 const char *v13; // x1 v4 = ((__int64 (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2); if ( (unsigned int)(v4 - 2) >= 4 ) { if ( v4 < 2 ) v6 = 0; else v6 = 2; } else { v6 = 1; } v5.n128_u32[0] = 0; v7 = 0.0; if ( (unsigned int)(v4 - 1) <= 7 ) v7 = flt_1006358CC[v4 - 1]; if ( v4 == 7 ) v5.n128_f32[0] = 1.0; if ( (unsigned int)v4 > 6 || ((1 << v4) & 0x4C) == 0 ) v9 = v5.n128_f32[0]; else v9 = 1.0; ((void (__fastcall *)(SetupAreaMoveTriggerPopup *, __int64, bool, __n128))a1->toggleGroup)(a1, 99, v6 == 0, v5); SetupTriggerPopup::valueChanged(a1, 262, (float)v6); SetupTriggerPopup::valueChanged(a1, 276, v7); SetupTriggerPopup::valueChanged(a1, 283, v9); if ( (unsigned int)sub_10024A36C(a1->m_modeButtons) ) { v10 = 0; do { v11 = sub_10024A388(a1->m_modeButtons, v10); v12 = (ButtonSprite *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v11 + 1056LL))(v11); LODWORD(v11) = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v11 + 64LL))(v11); if ( (_DWORD)v11 == ((unsigned int (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2) ) v13 = "GJ_button_02.png"; else v13 = "GJ_button_04.png"; ButtonSprite::updateBGImage(v12, v13); v10 = (unsigned int)(v10 + 1); } while ( (unsigned int)v10 < (unsigned int)sub_10024A36C(a1->m_modeButtons) ); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source