// // GJMGLayer::updateGroundOpacity from 0x435328 to 0x43536c (68 bytes) // // 2 xrefs: // > GJBaseGameLayer::updateLevelColors @ 0x46db6a // > GJBaseGameLayer::updateLevelColors @ 0x46db96 // // 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 GJMGLayer::updateGroundOpacity(GJMGLayer *a1, unsigned __int8 a2, bool a3) { int v3; // r6 cocos2d::CCSprite *m_ground1Sprite; // r3 unsigned int v5; // r4 cocos2d::CCArray *v6; // r5 int v7; // r0 v3 = a2; m_ground1Sprite = a1->m_ground1Sprite; if ( !a3 ) m_ground1Sprite = a1->m_ground2Sprite; if ( m_ground1Sprite ) { v5 = 0; v6 = (cocos2d::CCArray *)((int (__fastcall *)(cocos2d::CCSprite *, cocos2d::CCSprite *))m_ground1Sprite->getChildren)( m_ground1Sprite, a1->m_ground2Sprite); while ( v5 < cocos2d::CCArray::count(v6) ) { v7 = cocos2d::CCArray::objectAtIndex(v6, v5++); (*(void (__fastcall **)(int, int))(*(_DWORD *)v7 + 448))(v7, v3); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source