{"type": "func", "start": 6442788000, "end": 6442788086, "name": "cocos2d::CCLayer::onEnterTransitionDidFinish", "pseudocode": "// \n// cocos2d::CCLayer::onEnterTransitionDidFinish from 0x1800524a0 to 0x1800524f6 (86 bytes)\n// \n// 10 xrefs:\n// > <???> @ 0x1800f3300\n// > <???> @ 0x1800f37e0\n// > <???> @ 0x1800f3d38\n// > <???> @ 0x1800f42c0\n// > <???> @ 0x1800f48b8\n// > <???> @ 0x1800fd3f0\n// > <???> @ 0x180141220\n// > <???> @ 0x180141230\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bc274\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:21:45 +0000\n// \n\nvoid __fastcall cocos2d::CCLayer::onEnterTransitionDidFinish(cocos2d::CCLayer *this)\n{\n  struct cocos2d::CCDirector *v2; // rax\n  struct cocos2d::CCAccelerometerDelegate *v3; // rbx\n  cocos2d::CCAccelerometer *v4; // rax\n\n  if ( *((_BYTE *)this + 361) )\n  {\n    v2 = cocos2d::CCDirector::sharedDirector();\n    v3 = (cocos2d::CCLayer *)((char *)this + 328);\n    if ( !this )\n      v3 = nullptr;\n    v4 = (cocos2d::CCAccelerometer *)(*(__int64 (__fastcall **)(struct cocos2d::CCDirector *))(*(_QWORD *)v2 + 208LL))(v2);\n    cocos2d::CCAccelerometer::setDelegate(v4, v3);\n  }\n  cocos2d::CCNode::onEnterTransitionDidFinish(this);\n}", "assembly": "; \n; cocos2d::CCLayer::onEnterTransitionDidFinish from 0x1800524a0 to 0x1800524f6 (86 bytes)\n; \n; 10 xrefs:\n; > <???> @ 0x1800f3300\n; > <???> @ 0x1800f37e0\n; > <???> @ 0x1800f3d38\n; > <???> @ 0x1800f42c0\n; > <???> @ 0x1800f48b8\n; > <???> @ 0x1800fd3f0\n; > <???> @ 0x180141220\n; > <???> @ 0x180141230\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bc274\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:21:45 +0000\n; \npush    rdi                                                            ; +0x0, 0x1800524a0\nsub     rsp, 20h                                                       ; +0x2, 0x1800524a2\ncmp     byte ptr [rcx+169h], 0                                         ; +0x6, 0x1800524a6\nmov     rdi, rcx                                                       ; +0xd, 0x1800524ad\njz      short loc_1800524E9                                            ; +0x10, 0x1800524b0\nmov     [rsp+28h+arg_0], rbx                                           ; +0x12, 0x1800524b2\ncall    ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x17, 0x1800524b7\nxor     ecx, ecx                                                       ; +0x1c, 0x1800524bc\nlea     rbx, [rdi+148h]                                                ; +0x1e, 0x1800524be\ntest    rdi, rdi                                                       ; +0x25, 0x1800524c5\nmov     r8, [rax]                                                      ; +0x28, 0x1800524c8\ncmovz   rbx, rcx                                                       ; +0x2b, 0x1800524cb\nmov     rcx, rax                                                       ; +0x2f, 0x1800524cf\ncall    qword ptr [r8+0D0h]                                            ; +0x32, 0x1800524d2\nmov     rcx, rax; this                                                 ; +0x39, 0x1800524d9\nmov     rdx, rbx; struct cocos2d::CCAccelerometerDelegate *            ; +0x3c, 0x1800524dc\ncall    ?setDelegate@CCAccelerometer@cocos2d@@QEAAXPEAVCCAccelerometerDelegate@2@@Z; cocos2d::CCAccelerometer::setDelegate(cocos2d::CCAccelerometerDelegate *) ; +0x3f, 0x1800524df\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x44, 0x1800524e4\nmov     rcx, rdi; this                                                 ; +0x49, 0x1800524e9\nadd     rsp, 20h                                                       ; +0x4c, 0x1800524ec\npop     rdi                                                            ; +0x50, 0x1800524f0\njmp     ?onEnterTransitionDidFinish@CCNode@cocos2d@@UEAAXXZ; cocos2d::CCNode::onEnterTransitionDidFinish(void) ; +0x51, 0x1800524f1", "xrefs": ["<???> @ 0x1800f3300", "<???> @ 0x1800f37e0", "<???> @ 0x1800f3d38", "<???> @ 0x1800f42c0", "<???> @ 0x1800f48b8", "<???> @ 0x1800fd3f0", "<???> @ 0x180141220", "<???> @ 0x180141230", "<???> @ 0x18014cf68", "<???> @ 0x1801bc274"], "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"}