; ; cocos2d::CCSpriteBatchNode::increaseAtlasCapacity from 0x18008e550 to 0x18008e5a6 (86 bytes) ; ; 4 xrefs: ; > cocos2d::CCSpriteBatchNode::appendChild @ 0x18008dfc7 ; > cocos2d::CCSpriteBatchNode::insertChild @ 0x18008e82c ; > @ 0x1801438a8 ; > @ 0x1801b6000 ; ; 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 ; mov [rsp+arg_0], rbx ; +0x0, 0x18008e550 push rdi ; +0x5, 0x18008e555 sub rsp, 20h ; +0x6, 0x18008e556 mov rdi, rcx ; +0xa, 0x18008e55a mov rcx, [rcx+148h] ; +0xd, 0x18008e55d mov rax, [rcx] ; +0x14, 0x18008e564 call qword ptr [rax+50h] ; +0x17, 0x18008e567 mov rcx, [rdi+148h] ; +0x1a, 0x18008e56a lea edx, ds:4[rax*4] ; +0x21, 0x18008e571 mov eax, 0AAAAAAABh ; +0x28, 0x18008e578 mul edx ; +0x2d, 0x18008e57d mov rax, [rcx] ; +0x2f, 0x18008e57f mov ebx, edx ; +0x32, 0x18008e582 shr ebx, 1 ; +0x34, 0x18008e584 call qword ptr [rax+50h] ; +0x36, 0x18008e586 cmp eax, ebx ; +0x39, 0x18008e589 jnb short loc_18008E59B ; +0x3b, 0x18008e58b mov rcx, [rdi+148h]; this ; +0x3d, 0x18008e58d mov edx, ebx; unsigned int ; +0x44, 0x18008e594 call ?resizeCapacity@CCTextureAtlas@cocos2d@@QEAA_NI@Z; cocos2d::CCTextureAtlas::resizeCapacity(uint) ; +0x46, 0x18008e596 mov rbx, [rsp+28h+arg_0] ; +0x4b, 0x18008e59b add rsp, 20h ; +0x50, 0x18008e5a0 pop rdi ; +0x54, 0x18008e5a4 retn ; +0x55, 0x18008e5a5