{"type": "func", "start": 6442467952, "end": 6442468074, "name": "cocos2d::CCNode::onEnterTransitionDidFinish", "pseudocode": "// \n// cocos2d::CCNode::onEnterTransitionDidFinish from 0x180004270 to 0x1800042ea (122 bytes)\n// \n// 84 xrefs:\n// > cocos2d::CCLayer::onEnterTransitionDidFinish @ 0x1800506d1\n// > cocos2d::CCClippingNode::onEnterTransitionDidFinish @ 0x18005c3a9\n// > <???> @ 0x1800e5690\n// > <???> @ 0x1800e5cf0\n// > <???> @ 0x1800e6060\n// > <???> @ 0x1800e69c0\n// > <???> @ 0x1800e6ec8\n// > <???> @ 0x1800eb690\n// > <???> @ 0x1800ebb30\n// > <???> @ 0x1800ec008\n// > <???> @ 0x1800ec530\n// > <???> @ 0x1800ecb88\n// > <???> @ 0x1800eeb98\n// > <???> @ 0x1800eef20\n// > <???> @ 0x1800ef2a0\n// > <???> @ 0x1800ef628\n// > <???> @ 0x1800ef9a8\n// > <???> @ 0x1800efd28\n// > <???> @ 0x1800f00c8\n// > <???> @ 0x1800f0468\n// > <???> @ 0x1800f0808\n// > <???> @ 0x1800f0ba8\n// > <???> @ 0x1800f0f48\n// > <???> @ 0x1800f12e8\n// > <???> @ 0x1800f1688\n// > <???> @ 0x1800f1a28\n// > <???> @ 0x1800f1db8\n// > <???> @ 0x1800f2140\n// > <???> @ 0x1800f24c8\n// > <???> @ 0x1800f2850\n// > <???> @ 0x1800f2bd8\n// > <???> @ 0x1800f2f60\n// > <???> @ 0x1800f32e8\n// > <???> @ 0x1800f3670\n// > <???> @ 0x1800f39f0\n// > <???> @ 0x1800f3d80\n// > <???> @ 0x1800f4118\n// > <???> @ 0x1800f44b0\n// > <???> @ 0x1800f4848\n// > <???> @ 0x1800f4be0\n// > <???> @ 0x1800f4f78\n// > <???> @ 0x1800f5328\n// > <???> @ 0x1800f56b0\n// > <???> @ 0x1800f5a40\n// > <???> @ 0x1800f5dd0\n// > <???> @ 0x1800f6160\n// > <???> @ 0x1800f64f0\n// > <???> @ 0x1800f6880\n// > <???> @ 0x1800f6c10\n// > <???> @ 0x1800f7510\n// > <???> @ 0x1800f7938\n// > <???> @ 0x1800f7d80\n// > <???> @ 0x1800f81c8\n// > <???> @ 0x1800f8610\n// > <???> @ 0x1800f8a70\n// > <???> @ 0x1800f8ed0\n// > <???> @ 0x1800f96e8\n// > <???> @ 0x1800f9b00\n// > <???> @ 0x1800f9f10\n// > <???> @ 0x1800fa340\n// > <???> @ 0x1800fa9b0\n// > <???> @ 0x1800fb020\n// > <???> @ 0x1800fb690\n// > <???> @ 0x1800fbd00\n// > <???> @ 0x1800fc370\n// > <???> @ 0x1800fc9e0\n// > <???> @ 0x1800fd050\n// > <???> @ 0x1800fd6c0\n// > <???> @ 0x1800fdd30\n// > <???> @ 0x1800fe3a0\n// > <???> @ 0x1800fea10\n// > <???> @ 0x1800ff258\n// > <???> @ 0x1800ffcf8\n// > <???> @ 0x180103a40\n// > <???> @ 0x180103f30\n// > <???> @ 0x180105468\n// > <???> @ 0x180105840\n// > <???> @ 0x180105c98\n// > <???> @ 0x180106100\n// > <???> @ 0x180106a38\n// > <???> @ 0x180130ea8\n// > <???> @ 0x180130eb8\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801ad3d8\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::CCNode::onEnterTransitionDidFinish(cocos2d::CCNode *this)\n{\n  struct cocos2d::CCScriptEngineManager *v2; // rax\n  cocos2d::CCArray *m_pChildren; // rax\n  cocos2d::ccArray *data; // rbx\n  __int64 num; // rax\n  cocos2d::CCObject **arr; // rbx\n  cocos2d::CCObject **i; // rdi\n\n  if ( this->m_eScriptType )\n  {\n    v2 = cocos2d::CCScriptEngineManager::sharedManager();\n    (*(void (__fastcall **)(_QWORD, cocos2d::CCNode *, __int64))(**(_QWORD **)v2 + 64LL))(*(_QWORD *)v2, this, 2);\n  }\n  m_pChildren = this->m_pChildren;\n  if ( m_pChildren )\n  {\n    data = m_pChildren->data;\n    num = data->num;\n    if ( (_DWORD)num )\n    {\n      arr = data->arr;\n      for ( i = &arr[num - 1]; arr <= i; ++arr )\n      {\n        if ( !*arr )\n          break;\n        ((void (__fastcall *)(cocos2d::CCObject *))(*arr)->__vftable[9].encodeWithCoder)(*arr);\n      }\n    }\n  }\n}", "assembly": "; \n; cocos2d::CCNode::onEnterTransitionDidFinish from 0x180004270 to 0x1800042ea (122 bytes)\n; \n; 84 xrefs:\n; > cocos2d::CCLayer::onEnterTransitionDidFinish @ 0x1800506d1\n; > cocos2d::CCClippingNode::onEnterTransitionDidFinish @ 0x18005c3a9\n; > <???> @ 0x1800e5690\n; > <???> @ 0x1800e5cf0\n; > <???> @ 0x1800e6060\n; > <???> @ 0x1800e69c0\n; > <???> @ 0x1800e6ec8\n; > <???> @ 0x1800eb690\n; > <???> @ 0x1800ebb30\n; > <???> @ 0x1800ec008\n; > <???> @ 0x1800ec530\n; > <???> @ 0x1800ecb88\n; > <???> @ 0x1800eeb98\n; > <???> @ 0x1800eef20\n; > <???> @ 0x1800ef2a0\n; > <???> @ 0x1800ef628\n; > <???> @ 0x1800ef9a8\n; > <???> @ 0x1800efd28\n; > <???> @ 0x1800f00c8\n; > <???> @ 0x1800f0468\n; > <???> @ 0x1800f0808\n; > <???> @ 0x1800f0ba8\n; > <???> @ 0x1800f0f48\n; > <???> @ 0x1800f12e8\n; > <???> @ 0x1800f1688\n; > <???> @ 0x1800f1a28\n; > <???> @ 0x1800f1db8\n; > <???> @ 0x1800f2140\n; > <???> @ 0x1800f24c8\n; > <???> @ 0x1800f2850\n; > <???> @ 0x1800f2bd8\n; > <???> @ 0x1800f2f60\n; > <???> @ 0x1800f32e8\n; > <???> @ 0x1800f3670\n; > <???> @ 0x1800f39f0\n; > <???> @ 0x1800f3d80\n; > <???> @ 0x1800f4118\n; > <???> @ 0x1800f44b0\n; > <???> @ 0x1800f4848\n; > <???> @ 0x1800f4be0\n; > <???> @ 0x1800f4f78\n; > <???> @ 0x1800f5328\n; > <???> @ 0x1800f56b0\n; > <???> @ 0x1800f5a40\n; > <???> @ 0x1800f5dd0\n; > <???> @ 0x1800f6160\n; > <???> @ 0x1800f64f0\n; > <???> @ 0x1800f6880\n; > <???> @ 0x1800f6c10\n; > <???> @ 0x1800f7510\n; > <???> @ 0x1800f7938\n; > <???> @ 0x1800f7d80\n; > <???> @ 0x1800f81c8\n; > <???> @ 0x1800f8610\n; > <???> @ 0x1800f8a70\n; > <???> @ 0x1800f8ed0\n; > <???> @ 0x1800f96e8\n; > <???> @ 0x1800f9b00\n; > <???> @ 0x1800f9f10\n; > <???> @ 0x1800fa340\n; > <???> @ 0x1800fa9b0\n; > <???> @ 0x1800fb020\n; > <???> @ 0x1800fb690\n; > <???> @ 0x1800fbd00\n; > <???> @ 0x1800fc370\n; > <???> @ 0x1800fc9e0\n; > <???> @ 0x1800fd050\n; > <???> @ 0x1800fd6c0\n; > <???> @ 0x1800fdd30\n; > <???> @ 0x1800fe3a0\n; > <???> @ 0x1800fea10\n; > <???> @ 0x1800ff258\n; > <???> @ 0x1800ffcf8\n; > <???> @ 0x180103a40\n; > <???> @ 0x180103f30\n; > <???> @ 0x180105468\n; > <???> @ 0x180105840\n; > <???> @ 0x180105c98\n; > <???> @ 0x180106100\n; > <???> @ 0x180106a38\n; > <???> @ 0x180130ea8\n; > <???> @ 0x180130eb8\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801ad3d8\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    rbx                                                            ; +0x0, 0x180004270\nsub     rsp, 20h                                                       ; +0x2, 0x180004272\ncmp     dword ptr [rcx+12Ch], 0                                        ; +0x6, 0x180004276\nmov     rbx, rcx                                                       ; +0xd, 0x18000427d\njz      short loc_180004299                                            ; +0x10, 0x180004280\ncall    ?sharedManager@CCScriptEngineManager@cocos2d@@SAPEAV12@XZ; cocos2d::CCScriptEngineManager::sharedManager(void) ; +0x12, 0x180004282\nmov     r8d, 2                                                         ; +0x17, 0x180004287\nmov     rdx, rbx                                                       ; +0x1d, 0x18000428d\nmov     rcx, [rax]                                                     ; +0x20, 0x180004290\nmov     rax, [rcx]                                                     ; +0x23, 0x180004293\ncall    qword ptr [rax+40h]                                            ; +0x26, 0x180004296\nmov     rax, [rbx+0D0h]                                                ; +0x29, 0x180004299\ntest    rax, rax                                                       ; +0x30, 0x1800042a0\njz      short loc_1800042E4                                            ; +0x33, 0x1800042a3\nmov     rbx, [rax+38h]                                                 ; +0x35, 0x1800042a5\nmov     eax, [rbx]                                                     ; +0x39, 0x1800042a9\ntest    eax, eax                                                       ; +0x3b, 0x1800042ab\njz      short loc_1800042E4                                            ; +0x3d, 0x1800042ad\nmov     rbx, [rbx+10h]                                                 ; +0x3f, 0x1800042af\nmov     [rsp+28h+arg_0], rdi                                           ; +0x43, 0x1800042b3\nlea     rdi, [rax-1]                                                   ; +0x48, 0x1800042b8\nlea     rdi, [rbx+rdi*8]                                               ; +0x4c, 0x1800042bc\ncmp     rbx, rdi                                                       ; +0x50, 0x1800042c0\nja      short loc_1800042DF                                            ; +0x53, 0x1800042c3\nmov     rcx, [rbx]                                                     ; +0x55, 0x1800042c5\ntest    rcx, rcx                                                       ; +0x58, 0x1800042c8\njz      short loc_1800042DF                                            ; +0x5b, 0x1800042cb\nmov     rax, [rcx]                                                     ; +0x5d, 0x1800042cd\ncall    qword ptr [rax+2B0h]                                           ; +0x60, 0x1800042d0\nadd     rbx, 8                                                         ; +0x66, 0x1800042d6\ncmp     rbx, rdi                                                       ; +0x6a, 0x1800042da\njbe     short loc_1800042C5                                            ; +0x6d, 0x1800042dd\nmov     rdi, [rsp+28h+arg_0]                                           ; +0x6f, 0x1800042df\nadd     rsp, 20h                                                       ; +0x74, 0x1800042e4\npop     rbx                                                            ; +0x78, 0x1800042e8\nretn                                                                   ; +0x79, 0x1800042e9", "xrefs": ["cocos2d::CCLayer::onEnterTransitionDidFinish @ 0x1800506d1", "cocos2d::CCClippingNode::onEnterTransitionDidFinish @ 0x18005c3a9", "<???> @ 0x1800e5690", "<???> @ 0x1800e5cf0", "<???> @ 0x1800e6060", "<???> @ 0x1800e69c0", "<???> @ 0x1800e6ec8", "<???> @ 0x1800eb690", "<???> @ 0x1800ebb30", "<???> @ 0x1800ec008", "<???> @ 0x1800ec530", "<???> @ 0x1800ecb88", "<???> @ 0x1800eeb98", "<???> @ 0x1800eef20", "<???> @ 0x1800ef2a0", "<???> @ 0x1800ef628", "<???> @ 0x1800ef9a8", "<???> @ 0x1800efd28", "<???> @ 0x1800f00c8", "<???> @ 0x1800f0468", "<???> @ 0x1800f0808", "<???> @ 0x1800f0ba8", "<???> @ 0x1800f0f48", "<???> @ 0x1800f12e8", "<???> @ 0x1800f1688", "<???> @ 0x1800f1a28", "<???> @ 0x1800f1db8", "<???> @ 0x1800f2140", "<???> @ 0x1800f24c8", "<???> @ 0x1800f2850", "<???> @ 0x1800f2bd8", "<???> @ 0x1800f2f60", "<???> @ 0x1800f32e8", "<???> @ 0x1800f3670", "<???> @ 0x1800f39f0", "<???> @ 0x1800f3d80", "<???> @ 0x1800f4118", "<???> @ 0x1800f44b0", "<???> @ 0x1800f4848", "<???> @ 0x1800f4be0", "<???> @ 0x1800f4f78", "<???> @ 0x1800f5328", "<???> @ 0x1800f56b0", "<???> @ 0x1800f5a40", "<???> @ 0x1800f5dd0", "<???> @ 0x1800f6160", "<???> @ 0x1800f64f0", "<???> @ 0x1800f6880", "<???> @ 0x1800f6c10", "<???> @ 0x1800f7510", "<???> @ 0x1800f7938", "<???> @ 0x1800f7d80", "<???> @ 0x1800f81c8", "<???> @ 0x1800f8610", "<???> @ 0x1800f8a70", "<???> @ 0x1800f8ed0", "<???> @ 0x1800f96e8", "<???> @ 0x1800f9b00", "<???> @ 0x1800f9f10", "<???> @ 0x1800fa340", "<???> @ 0x1800fa9b0", "<???> @ 0x1800fb020", "<???> @ 0x1800fb690", "<???> @ 0x1800fbd00", "<???> @ 0x1800fc370", "<???> @ 0x1800fc9e0", "<???> @ 0x1800fd050", "<???> @ 0x1800fd6c0", "<???> @ 0x1800fdd30", "<???> @ 0x1800fe3a0", "<???> @ 0x1800fea10", "<???> @ 0x1800ff258", "<???> @ 0x1800ffcf8", "<???> @ 0x180103a40", "<???> @ 0x180103f30", "<???> @ 0x180105468", "<???> @ 0x180105840", "<???> @ 0x180105c98", "<???> @ 0x180106100", "<???> @ 0x180106a38", "<???> @ 0x180130ea8", "<???> @ 0x180130eb8", "<???> @ 0x1801438a8", "<???> @ 0x1801ad3d8"], "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"}