{"type": "func", "start": 6443036608, "end": 6443036696, "name": "cocos2d::CCSpriteBatchNode::reorderChild", "pseudocode": "// \n// cocos2d::CCSpriteBatchNode::reorderChild from 0x18008efc0 to 0x18008f018 (88 bytes)\n// \n// 5 xrefs:\n// > <???> @ 0x1800ec4b8\n// > <???> @ 0x180103eb8\n// > <???> @ 0x180105c20\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b60fc\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall cocos2d::CCSpriteBatchNode::reorderChild(\n        cocos2d::CCSpriteBatchNode *this,\n        struct cocos2d::CCNode *a2,\n        unsigned int a3)\n{\n  if ( !this->m_bUseChildIndex )\n    cocos2d::CCArray::containsObject(this->m_pChildren, a2);\n  if ( a3 != ((unsigned int (__fastcall *)(struct cocos2d::CCNode *))a2->getZOrder)(a2) )\n    cocos2d::CCNode::reorderChild(this, a2, a3);\n}", "assembly": "; \n; cocos2d::CCSpriteBatchNode::reorderChild from 0x18008efc0 to 0x18008f018 (88 bytes)\n; \n; 5 xrefs:\n; > <???> @ 0x1800ec4b8\n; > <???> @ 0x180103eb8\n; > <???> @ 0x180105c20\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b60fc\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x18008efc0\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x18008efc5\npush    rdi                                                            ; +0xa, 0x18008efca\nsub     rsp, 20h                                                       ; +0xb, 0x18008efcb\ncmp     byte ptr [rcx+138h], 0                                         ; +0xf, 0x18008efcf\nmov     esi, r8d                                                       ; +0x16, 0x18008efd6\nmov     rbx, rdx                                                       ; +0x19, 0x18008efd9\nmov     rdi, rcx                                                       ; +0x1c, 0x18008efdc\njnz     short loc_18008EFED                                            ; +0x1f, 0x18008efdf\nmov     rcx, [rcx+0D0h]; this                                          ; +0x21, 0x18008efe1\ncall    ?containsObject@CCArray@cocos2d@@QEBA_NPEAVCCObject@2@@Z; cocos2d::CCArray::containsObject(cocos2d::CCObject *) ; +0x28, 0x18008efe8\nmov     rax, [rbx]                                                     ; +0x2d, 0x18008efed\nmov     rcx, rbx                                                       ; +0x30, 0x18008eff0\ncall    qword ptr [rax+60h]                                            ; +0x33, 0x18008eff3\ncmp     esi, eax                                                       ; +0x36, 0x18008eff6\njz      short loc_18008F008                                            ; +0x38, 0x18008eff8\nmov     r8d, esi; int                                                  ; +0x3a, 0x18008effa\nmov     rdx, rbx; struct cocos2d::CCNode *                             ; +0x3d, 0x18008effd\nmov     rcx, rdi; this                                                 ; +0x40, 0x18008f000\ncall    ?reorderChild@CCNode@cocos2d@@UEAAXPEAV12@H@Z; cocos2d::CCNode::reorderChild(cocos2d::CCNode *,int) ; +0x43, 0x18008f003\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x48, 0x18008f008\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x4d, 0x18008f00d\nadd     rsp, 20h                                                       ; +0x52, 0x18008f012\npop     rdi                                                            ; +0x56, 0x18008f016\nretn                                                                   ; +0x57, 0x18008f017", "xrefs": ["<???> @ 0x1800ec4b8", "<???> @ 0x180103eb8", "<???> @ 0x180105c20", "<???> @ 0x1801438a8", "<???> @ 0x1801b60fc"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}