// // GJBaseGameLayer::updateLegacyLayerCapacity from 0x46dd10 to 0x46ddae (158 bytes) // // 1 xrefs: // > GJBaseGameLayer::updateLayerCapacity @ 0x47e574 // // 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 GJBaseGameLayer::updateLegacyLayerCapacity(GJBaseGameLayer *a1, int a2, int a3, int a4, int a5) { signed int v5; // r5 cocos2d::CCSpriteBatchNode *m_gameLayerT1; // r0 signed int v8; // r7 unsigned int v10; // r1 unsigned int v11; // r5 v5 = a5; if ( a3 < 100 ) a3 = 100; m_gameLayerT1 = a1->m_gameLayerT1; v8 = a3; if ( a5 < 100 ) v5 = 100; if ( a2 < 100 ) a2 = 100; cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(m_gameLayerT1, a2); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(a1->m_gameBlendingLayerT1, v8); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(a1->m_game2LayerT1, 0x14u); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(a1->m_game2BlendingLayerT1, 0x14u); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(a1->m_game2LayerB1, 0x14u); if ( a4 < 100 ) a4 = 100; cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(a1->m_gameLayerB1, a4); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(a1->m_gameBlendingLayerB1, v5); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(a1->m_gameLayerB2, a4); v10 = v5; v11 = v5 >> 1; cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(a1->m_gameBlendingLayerB2, v10); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(a1->m_glowLayerT1, v8 >> 1); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(a1->m_glowLayerB1, v11); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(a1->m_glowLayerB2, v11); }
GD Web Decomp Icon

GD Web Decomp

Raw Source