{"type": "func", "start": 6443049472, "end": 6443049560, "name": "cocos2d::CCSpriteBatchNode::reorderChild", "pseudocode": "// \n// cocos2d::CCSpriteBatchNode::reorderChild from 0x180092200 to 0x180092258 (88 bytes)\n// \n// 5 xrefs:\n// > <???> @ 0x1800f25d8\n// > <???> @ 0x18010a590\n// > <???> @ 0x18010c320\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c03b4\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:22:08 +0000\n// \n\nvoid __fastcall cocos2d::CCSpriteBatchNode::reorderChild(\n        cocos2d::CCArray **this,\n        struct cocos2d::CCNode *a2,\n        unsigned int a3)\n{\n  if ( !*((_BYTE *)this + 312) )\n    cocos2d::CCArray::containsObject(*(this + 26), a2);\n  if ( a3 != (*(unsigned int (__fastcall **)(struct cocos2d::CCNode *))(*(_QWORD *)a2 + 96LL))(a2) )\n    cocos2d::CCNode::reorderChild((cocos2d::CCNode *)this, a2, a3);\n}", "assembly": "; \n; cocos2d::CCSpriteBatchNode::reorderChild from 0x180092200 to 0x180092258 (88 bytes)\n; \n; 5 xrefs:\n; > <???> @ 0x1800f25d8\n; > <???> @ 0x18010a590\n; > <???> @ 0x18010c320\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c03b4\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:22:08 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180092200\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x180092205\npush    rdi                                                            ; +0xa, 0x18009220a\nsub     rsp, 20h                                                       ; +0xb, 0x18009220b\ncmp     byte ptr [rcx+138h], 0                                         ; +0xf, 0x18009220f\nmov     esi, r8d                                                       ; +0x16, 0x180092216\nmov     rbx, rdx                                                       ; +0x19, 0x180092219\nmov     rdi, rcx                                                       ; +0x1c, 0x18009221c\njnz     short loc_18009222D                                            ; +0x1f, 0x18009221f\nmov     rcx, [rcx+0D0h]; this                                          ; +0x21, 0x180092221\ncall    ?containsObject@CCArray@cocos2d@@QEBA_NPEAVCCObject@2@@Z; cocos2d::CCArray::containsObject(cocos2d::CCObject *) ; +0x28, 0x180092228\nmov     rax, [rbx]                                                     ; +0x2d, 0x18009222d\nmov     rcx, rbx                                                       ; +0x30, 0x180092230\ncall    qword ptr [rax+60h]                                            ; +0x33, 0x180092233\ncmp     esi, eax                                                       ; +0x36, 0x180092236\njz      short loc_180092248                                            ; +0x38, 0x180092238\nmov     r8d, esi; int                                                  ; +0x3a, 0x18009223a\nmov     rdx, rbx; struct cocos2d::CCNode *                             ; +0x3d, 0x18009223d\nmov     rcx, rdi; this                                                 ; +0x40, 0x180092240\ncall    ?reorderChild@CCNode@cocos2d@@UEAAXPEAV12@H@Z; cocos2d::CCNode::reorderChild(cocos2d::CCNode *,int) ; +0x43, 0x180092243\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x48, 0x180092248\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x4d, 0x18009224d\nadd     rsp, 20h                                                       ; +0x52, 0x180092252\npop     rdi                                                            ; +0x56, 0x180092256\nretn                                                                   ; +0x57, 0x180092257", "xrefs": ["<???> @ 0x1800f25d8", "<???> @ 0x18010a590", "<???> @ 0x18010c320", "<???> @ 0x18014cf68", "<???> @ 0x1801c03b4"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}