; ; cocos2d::CCScene::getHighestChildZ from 0x180051ba0 to 0x180051c0a (106 bytes) ; ; 2 xrefs: ; > @ 0x1801438a8 ; > @ 0x1801b22c8 ; ; 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, 0x180051ba0 mov [rsp+arg_8], rsi ; +0x5, 0x180051ba5 push rdi ; +0xa, 0x180051baa sub rsp, 20h ; +0xb, 0x180051bab mov rax, [rcx] ; +0xf, 0x180051baf xor ebx, ebx ; +0x12, 0x180051bb2 call qword ptr [rax+1D0h] ; +0x14, 0x180051bb4 mov rcx, rax; this ; +0x1a, 0x180051bba mov rsi, rax ; +0x1d, 0x180051bbd mov edi, ebx ; +0x20, 0x180051bc0 call ?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x22, 0x180051bc2 test eax, eax ; +0x27, 0x180051bc7 jz short loc_180051BF8 ; +0x29, 0x180051bc9 nop dword ptr [rax+rax+00h] ; +0x2b, 0x180051bcb mov edx, edi; unsigned int ; +0x30, 0x180051bd0 mov rcx, rsi; this ; +0x32, 0x180051bd2 call ?stringAtIndex@CCArray@cocos2d@@QEAAPEAVCCString@2@I@Z; cocos2d::CCArray::stringAtIndex(uint) ; +0x35, 0x180051bd5 mov rcx, rax ; +0x3a, 0x180051bda mov rdx, [rax] ; +0x3d, 0x180051bdd call qword ptr [rdx+60h] ; +0x40, 0x180051be0 cmp ebx, eax ; +0x43, 0x180051be3 mov rcx, rsi; this ; +0x45, 0x180051be5 cmovg eax, ebx ; +0x48, 0x180051be8 inc edi ; +0x4b, 0x180051beb mov ebx, eax ; +0x4d, 0x180051bed call ?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x4f, 0x180051bef cmp edi, eax ; +0x54, 0x180051bf4 jb short loc_180051BD0 ; +0x56, 0x180051bf6 mov rsi, [rsp+28h+arg_8] ; +0x58, 0x180051bf8 mov eax, ebx ; +0x5d, 0x180051bfd mov rbx, [rsp+28h+arg_0] ; +0x5f, 0x180051bff add rsp, 20h ; +0x64, 0x180051c04 pop rdi ; +0x68, 0x180051c08 retn ; +0x69, 0x180051c09