// // GJBaseGameLayer::updateLegacyLayerCapacity from 0x1001154b0 to 0x1001155a5 (245 bytes) // // 1 xrefs: // > GJBaseGameLayer::updateLayerCapacity @ 0x1001159ee // // 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 GJBaseGameLayer::updateLegacyLayerCapacity(GJBaseGameLayer *a1, int a2, int a3, int a4, int a5) { unsigned int v5; // r12d unsigned int v6; // ebx unsigned int v7; // r15d unsigned int v8; // ebx v5 = a4; v6 = 100; if ( a2 < 101 ) a2 = 100; v7 = a3; if ( a3 < 101 ) v7 = 100; if ( a4 < 101 ) v5 = 100; if ( a5 >= 101 ) v6 = a5; cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(a1->m_gameLayerT1, a2); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(a1->m_gameBlendingLayerT1, v7); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(a1->m_game2LayerT1, 0x14u); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(a1->m_game2BlendingLayerT1, 0x14u); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(a1->m_game2LayerB1, 0x14u); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(a1->m_gameLayerB1, v5); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(a1->m_gameBlendingLayerB1, v6); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(a1->m_gameLayerB2, v5); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(a1->m_gameBlendingLayerB2, v6); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(a1->m_glowLayerT1, v7 >> 1); v8 = v6 >> 1; cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(a1->m_glowLayerB1, v8); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(a1->m_glowLayerB2, v8); }
GD Web Decomp Icon

GD Web Decomp

Raw Source