// // SetupGradientPopup::onZLayer from 0x1005f2ef0 to 0x1005f2ff6 (262 bytes) // // 1 xrefs: // > SetupGradientPopup::init @ 0x1005f28a8 // // 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 SetupGradientPopup::onZLayer(SetupGradientPopup *a1, cocos2d::CCObject *a2) { int v2; // eax EffectGameObject *m_gameObject; // rcx unsigned int v4; // r14d unsigned int v5; // r14d ButtonSprite *v6; // r15 const char *v7; // rsi v2 = ((__int64 (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2); a1->m_blendingLayer = v2; m_gameObject = a1->m_gameObject; if ( m_gameObject ) { *(_DWORD *)(&m_gameObject->m_canSpawnTriggers + 1) = v2; } else if ( (unsigned int)sub_100720070(a1->m_gameObjects) ) { v4 = 0; do *(_DWORD *)(sub_1007200C0(a1->m_gameObjects, v4++) + 1836) = a1->m_blendingLayer; while ( v4 < (unsigned int)sub_100720070(a1->m_gameObjects) ); } if ( (unsigned int)sub_100720070(a1->m_layerButtons) ) { v5 = 0; do { v6 = (ButtonSprite *)sub_1007200C0(a1->m_layerButtons, v5); v7 = "GJ_button_02.png"; if ( ((unsigned int (__fastcall *)(ButtonSprite *))v6->getTag)(v6) != a1->m_blendingLayer ) v7 = "GJ_button_04.png"; ButtonSprite::updateBGImage(v6, v7); ++v5; } while ( v5 < (unsigned int)sub_100720070(a1->m_layerButtons) ); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source