// // GJBaseGameLayer::updateLegacyLayerCapacity from 0x58c8ac to 0x58c94a (158 bytes) // // 1 xrefs: // > GJBaseGameLayer::updateLayerCapacity @ 0x5a0e4e // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 11:53:03 +0000 // int __fastcall GJBaseGameLayer::updateLegacyLayerCapacity(GJBaseGameLayer *this, int a2, int a3, int a4, int a5) { signed int v5; // r5 cocos2d::CCSpriteBatchNode *v7; // r0 signed int v8; // r7 unsigned int v10; // r1 unsigned int v11; // r5 v5 = a5; if ( a3 < 100 ) a3 = 100; v7 = *((cocos2d::CCSpriteBatchNode **)this + 429); v8 = a3; if ( a5 < 100 ) v5 = 100; if ( a2 < 100 ) a2 = 100; cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(v7, a2); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(*((cocos2d::CCSpriteBatchNode **)this + 430), v8); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(*((cocos2d::CCSpriteBatchNode **)this + 441), 0x14u); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(*((cocos2d::CCSpriteBatchNode **)this + 442), 0x14u); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(*((cocos2d::CCSpriteBatchNode **)this + 461), 0x14u); if ( a4 < 100 ) a4 = 100; cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(*((cocos2d::CCSpriteBatchNode **)this + 449), a4); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(*((cocos2d::CCSpriteBatchNode **)this + 450), v5); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(*((cocos2d::CCSpriteBatchNode **)this + 463), a4); v10 = v5; v11 = v5 >> 1; cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(*((cocos2d::CCSpriteBatchNode **)this + 464), v10); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(*((cocos2d::CCSpriteBatchNode **)this + 431), v8 >> 1); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(*((cocos2d::CCSpriteBatchNode **)this + 451), v11); return cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(*((cocos2d::CCSpriteBatchNode **)this + 465), v11); }
GD Web Decomp Icon

GD Web Decomp

Raw Source