// // SetupGradientPopup::updateZLayerButtons from 0xb307e8 to 0xb30894 (172 bytes) // // 4 xrefs: // > SetupGradientPopup::onZLayer @ 0xb308d0 // > SetupGradientPopup::onZLayer @ 0xb30910 // > SetupGradientPopup::init @ 0xb31674 // > @ 0x926f8 // // This function is hookable on this platform (idp: arm, 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 13:01:43 +0000 // __int64 __fastcall SetupGradientPopup::updateZLayerButtons(cocos2d::CCArray **this) { unsigned int v2; // w19 __int64 result; // x0 unsigned int v4; // w1 ButtonSprite *v5; // x20 v2 = 0; result = cocos2d::CCArray::count(*(this + 129)); v4 = 0; if ( (_DWORD)result ) { do { v5 = (ButtonSprite *)cocos2d::CCArray::objectAtIndex(*(this + 129), v4); ++v2; if ( (*(unsigned int (__fastcall **)(ButtonSprite *))(*(_QWORD *)v5 + 64LL))(v5) == *((_DWORD *)this + 260) ) ButtonSprite::updateBGImage(v5, "GJ_button_02.png"); else ButtonSprite::updateBGImage(v5, "GJ_button_04.png"); result = cocos2d::CCArray::count(*(this + 129)); v4 = v2; } while ( v2 < (unsigned int)result ); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source