{"type": "func", "start": 6443026128, "end": 6443026228, "name": "cocos2d::CCSprite::setReorderChildDirtyRecursively", "pseudocode": "// \n// cocos2d::CCSprite::setReorderChildDirtyRecursively from 0x18008c6d0 to 0x18008c734 (100 bytes)\n// \n// 9 xrefs:\n// > <???> @ 0x1800ebca0\n// > <???> @ 0x1800ec178\n// > <???> @ 0x1800eccf8\n// > <???> @ 0x180103bb0\n// > <???> @ 0x180106ba8\n// > <???> @ 0x18013d6ac\n// > <???> @ 0x18013d6bc\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b5da8\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::CCSprite::setReorderChildDirtyRecursively(cocos2d::CCSprite *this)\n{\n  cocos2d::CCSpriteBatchNode *m_pParent; // rbx\n\n  if ( !this->m_bReorderChildDirty )\n  {\n    m_pParent = (cocos2d::CCSpriteBatchNode *)this->m_pParent;\n    for ( this->m_bReorderChildDirty = 1;\n          m_pParent;\n          m_pParent = (cocos2d::CCSpriteBatchNode *)((__int64 (__fastcall *)(cocos2d::CCSpriteBatchNode *))m_pParent->getParent)(m_pParent) )\n    {\n      if ( m_pParent == this->m_pobBatchNode )\n        break;\n      ((void (__fastcall *)(cocos2d::CCSpriteBatchNode *))m_pParent->cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable[1].setPosition_0)(m_pParent);\n    }\n  }\n}", "assembly": "; \n; cocos2d::CCSprite::setReorderChildDirtyRecursively from 0x18008c6d0 to 0x18008c734 (100 bytes)\n; \n; 9 xrefs:\n; > <???> @ 0x1800ebca0\n; > <???> @ 0x1800ec178\n; > <???> @ 0x1800eccf8\n; > <???> @ 0x180103bb0\n; > <???> @ 0x180106ba8\n; > <???> @ 0x18013d6ac\n; > <???> @ 0x18013d6bc\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b5da8\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\npush    rdi                                                            ; +0x0, 0x18008c6d0\nsub     rsp, 20h                                                       ; +0x2, 0x18008c6d2\ncmp     byte ptr [rcx+120h], 0                                         ; +0x6, 0x18008c6d6\nmov     rdi, rcx                                                       ; +0xd, 0x18008c6dd\njnz     short loc_18008C72E                                            ; +0x10, 0x18008c6e0\nmov     [rsp+28h+arg_0], rbx                                           ; +0x12, 0x18008c6e2\nmov     rbx, [rcx+0D8h]                                                ; +0x17, 0x18008c6e7\nmov     byte ptr [rcx+120h], 1                                         ; +0x1e, 0x18008c6ee\ntest    rbx, rbx                                                       ; +0x25, 0x18008c6f5\njz      short loc_18008C729                                            ; +0x28, 0x18008c6f8\nnop     word ptr [rax+rax+00h]                                         ; +0x2a, 0x18008c6fa\ncmp     rbx, [rdi+170h]                                                ; +0x30, 0x18008c700\njz      short loc_18008C729                                            ; +0x37, 0x18008c707\nmov     rax, [rbx]                                                     ; +0x39, 0x18008c709\nmov     rcx, rbx                                                       ; +0x3c, 0x18008c70c\ncall    qword ptr [rax+420h]                                           ; +0x3f, 0x18008c70f\nmov     rax, [rbx]                                                     ; +0x45, 0x18008c715\nmov     rcx, rbx                                                       ; +0x48, 0x18008c718\ncall    qword ptr [rax+1E8h]                                           ; +0x4b, 0x18008c71b\nmov     rbx, rax                                                       ; +0x51, 0x18008c721\ntest    rax, rax                                                       ; +0x54, 0x18008c724\njnz     short loc_18008C700                                            ; +0x57, 0x18008c727\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x59, 0x18008c729\nadd     rsp, 20h                                                       ; +0x5e, 0x18008c72e\npop     rdi                                                            ; +0x62, 0x18008c732\nretn                                                                   ; +0x63, 0x18008c733", "xrefs": ["<???> @ 0x1800ebca0", "<???> @ 0x1800ec178", "<???> @ 0x1800eccf8", "<???> @ 0x180103bb0", "<???> @ 0x180106ba8", "<???> @ 0x18013d6ac", "<???> @ 0x18013d6bc", "<???> @ 0x1801438a8", "<???> @ 0x1801b5da8"], "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"}