// // SetupAreaTintTriggerPopup::onClose from 0x1004d9120 to 0x1004d91e4 (196 bytes) // // 2 xrefs: // > @ 0x100953ad0 // > @ 0x100954b08 // // 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 SetupAreaTintTriggerPopup::onClose(SetupAreaTintTriggerPopup *a1, cocos2d::CCObject *a2) { EffectGameObject *m_gameObject; // rax __int64 v4; // rcx cocos2d::CCArray *m_gameObjects; // rdi unsigned int v6; // r15d __int64 v7; // rax __int64 v8; // rcx if ( a1->m_hsvChanged ) { m_gameObject = a1->m_gameObject; if ( m_gameObject ) { v4 = *(_QWORD *)&a1->m_hsvValue.v; *(_QWORD *)&m_gameObject->m_hsvValue.h = *(_QWORD *)&a1->m_hsvValue.h; *(_QWORD *)&m_gameObject->m_hsvValue.v = v4; } else { m_gameObjects = a1->m_gameObjects; if ( m_gameObjects && (unsigned int)sub_100720070(m_gameObjects) ) { v6 = 0; do { v7 = sub_1007200C0(a1->m_gameObjects, v6); v8 = *(_QWORD *)&a1->m_hsvValue.v; *(_QWORD *)(v7 + 1612) = *(_QWORD *)&a1->m_hsvValue.h; *(_QWORD *)(v7 + 1620) = v8; ++v6; } while ( v6 < (unsigned int)sub_100720070(a1->m_gameObjects) ); } } } SetupTriggerPopup::onClose(a1, a2); }
GD Web Decomp Icon

GD Web Decomp

Raw Source