// // SetupShaderEffectPopup::updateZLayerButtons from 0xb31cac to 0xb31d98 (236 bytes) // // 4 xrefs: // > SetupShaderEffectPopup::onZLayer @ 0xb31e08 // > SetupShaderEffectPopup::onZLayer @ 0xb31e3c // > SetupShaderEffectPopup::setupShaderTrigger @ 0xb3a86c // > @ 0x4f888 // // 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:44 +0000 // __int64 __fastcall SetupShaderEffectPopup::updateZLayerButtons(cocos2d::CCArray **this) { unsigned int v2; // w19 __int64 result; // x0 unsigned int v4; // w1 ButtonSprite *v5; // x21 int v6; // w2 int v7; // w3 int v8; // w4 v2 = 0; result = cocos2d::CCArray::count(*(this + 127)); v4 = 0; if ( (_DWORD)result ) { do { v5 = (ButtonSprite *)cocos2d::CCArray::objectAtIndex(*(this + 127), v4); v6 = (*(__int64 (__fastcall **)(ButtonSprite *))(*(_QWORD *)v5 + 64LL))(v5); v7 = *((_DWORD *)this + 256); if ( v6 == v7 || (v8 = *((_DWORD *)this + 257), v6 == v8) ) { ++v2; ButtonSprite::updateBGImage(v5, "GJ_button_02.png"); } else if ( v6 > v7 && v6 < v8 ) { ++v2; ButtonSprite::updateBGImage(v5, "GJ_button_01.png"); } else { ++v2; ButtonSprite::updateBGImage(v5, "GJ_button_04.png"); } result = cocos2d::CCArray::count(*(this + 127)); v4 = v2; } while ( v2 < (unsigned int)result ); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source