; ; cocos2d::CCSpriteBatchNode::highestAtlasIndexInChild from 0x18008e4b0 to 0x18008e50d (93 bytes) ; ; 4 xrefs: ; > cocos2d::CCSpriteBatchNode::atlasIndexForChild @ 0x18008e18d ; > cocos2d::CCSpriteBatchNode::atlasIndexForChild @ 0x18008e208 ; > @ 0x1801438a8 ; > @ 0x1801b5fe8 ; ; 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, 0x18008e4b0 push rdi ; +0x5, 0x18008e4b5 sub rsp, 20h ; +0x6, 0x18008e4b6 mov rax, [rdx] ; +0xa, 0x18008e4ba mov rcx, rdx ; +0xd, 0x18008e4bd mov rbx, rdx ; +0x10, 0x18008e4c0 call qword ptr [rax+1D0h] ; +0x13, 0x18008e4c3 mov rdi, rax ; +0x19, 0x18008e4c9 test rax, rax ; +0x1c, 0x18008e4cc jz short loc_18008E4FC ; +0x1f, 0x18008e4cf mov rcx, rdi; this ; +0x21, 0x18008e4d1 call ?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x24, 0x18008e4d4 test eax, eax ; +0x29, 0x18008e4d9 jz short loc_18008E4FC ; +0x2b, 0x18008e4db mov rcx, rdi; this ; +0x2d, 0x18008e4dd call ?lastObject@CCArray@cocos2d@@QEAAPEAVCCObject@2@XZ; cocos2d::CCArray::lastObject(void) ; +0x30, 0x18008e4e0 mov rbx, rax ; +0x35, 0x18008e4e5 mov rcx, rbx ; +0x38, 0x18008e4e8 mov rax, [rax] ; +0x3b, 0x18008e4eb call qword ptr [rax+1D0h] ; +0x3e, 0x18008e4ee mov rdi, rax ; +0x44, 0x18008e4f4 test rax, rax ; +0x47, 0x18008e4f7 jnz short loc_18008E4D1 ; +0x4a, 0x18008e4fa mov eax, [rbx+168h] ; +0x4c, 0x18008e4fc mov rbx, [rsp+28h+arg_0] ; +0x52, 0x18008e502 add rsp, 20h ; +0x57, 0x18008e507 pop rdi ; +0x5b, 0x18008e50b retn ; +0x5c, 0x18008e50c