// // GJBaseGameLayer::updateLegacyLayerCapacity from 0x99a78c to 0x99a870 (228 bytes) // // 2 xrefs: // > GJBaseGameLayer::updateLayerCapacity @ 0x9ba2d8 // > @ 0x63610 // // 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 12:58:04 +0000 // __int64 __fastcall GJBaseGameLayer::updateLegacyLayerCapacity( GJBaseGameLayer *this, signed int a2, int a3, int a4, int a5) { signed int v5; // w21 signed int v6; // w20 cocos2d::CCSpriteBatchNode *v8; // x0 unsigned int v9; // w23 unsigned int v10; // w22 if ( a3 < 100 ) v5 = 100; else v5 = a3; if ( a5 < 100 ) v6 = 100; else v6 = a5; v8 = *((cocos2d::CCSpriteBatchNode **)this + 317); if ( a2 < 100 ) a2 = 100; v9 = v6 >> 1; cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(v8, a2); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(*((cocos2d::CCSpriteBatchNode **)this + 318), v5); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(*((cocos2d::CCSpriteBatchNode **)this + 329), 0x14u); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(*((cocos2d::CCSpriteBatchNode **)this + 330), 0x14u); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(*((cocos2d::CCSpriteBatchNode **)this + 349), 0x14u); if ( a4 < 100 ) v10 = 100; else v10 = a4; cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(*((cocos2d::CCSpriteBatchNode **)this + 337), v10); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(*((cocos2d::CCSpriteBatchNode **)this + 338), v6); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(*((cocos2d::CCSpriteBatchNode **)this + 351), v10); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(*((cocos2d::CCSpriteBatchNode **)this + 352), v6); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(*((cocos2d::CCSpriteBatchNode **)this + 319), v5 >> 1); cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(*((cocos2d::CCSpriteBatchNode **)this + 339), v9); return cocos2d::CCSpriteBatchNode::increaseAtlasCapacity(*((cocos2d::CCSpriteBatchNode **)this + 353), v9); }
GD Web Decomp Icon

GD Web Decomp

Raw Source