{"type": "func", "start": 6442780288, "end": 6442780374, "name": "cocos2d::CCLayer::onEnterTransitionDidFinish", "pseudocode": "// \n// cocos2d::CCLayer::onEnterTransitionDidFinish from 0x180050680 to 0x1800506d6 (86 bytes)\n// \n// 10 xrefs:\n// > <???> @ 0x1800ed1a0\n// > <???> @ 0x1800ed660\n// > <???> @ 0x1800edb98\n// > <???> @ 0x1800ee100\n// > <???> @ 0x1800ee6d8\n// > <???> @ 0x1800f6fa8\n// > <???> @ 0x180137ff8\n// > <???> @ 0x180138008\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b1fe0\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::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 ( this->m_bAccelerometerEnabled )\n  {\n    v2 = cocos2d::CCDirector::sharedDirector();\n    v3 = &this->cocos2d::CCAccelerometerDelegate;\n    if ( !this )\n      v3 = nullptr;\n    v4 = (cocos2d::CCAccelerometer *)((__int64 (__fastcall *)(struct cocos2d::CCDirector *))v2->getAccelerometer)(v2);\n    cocos2d::CCAccelerometer::setDelegate(v4, v3);\n  }\n  cocos2d::CCNode::onEnterTransitionDidFinish(this);\n}", "assembly": "; \n; cocos2d::CCLayer::onEnterTransitionDidFinish from 0x180050680 to 0x1800506d6 (86 bytes)\n; \n; 10 xrefs:\n; > <???> @ 0x1800ed1a0\n; > <???> @ 0x1800ed660\n; > <???> @ 0x1800edb98\n; > <???> @ 0x1800ee100\n; > <???> @ 0x1800ee6d8\n; > <???> @ 0x1800f6fa8\n; > <???> @ 0x180137ff8\n; > <???> @ 0x180138008\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b1fe0\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, 0x180050680\nsub     rsp, 20h                                                       ; +0x2, 0x180050682\ncmp     byte ptr [rcx+169h], 0                                         ; +0x6, 0x180050686\nmov     rdi, rcx                                                       ; +0xd, 0x18005068d\njz      short loc_1800506C9                                            ; +0x10, 0x180050690\nmov     [rsp+28h+arg_0], rbx                                           ; +0x12, 0x180050692\ncall    ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x17, 0x180050697\nxor     ecx, ecx                                                       ; +0x1c, 0x18005069c\nlea     rbx, [rdi+148h]                                                ; +0x1e, 0x18005069e\ntest    rdi, rdi                                                       ; +0x25, 0x1800506a5\nmov     r8, [rax]                                                      ; +0x28, 0x1800506a8\ncmovz   rbx, rcx                                                       ; +0x2b, 0x1800506ab\nmov     rcx, rax                                                       ; +0x2f, 0x1800506af\ncall    qword ptr [r8+0D0h]                                            ; +0x32, 0x1800506b2\nmov     rcx, rax; this                                                 ; +0x39, 0x1800506b9\nmov     rdx, rbx; struct cocos2d::CCAccelerometerDelegate *            ; +0x3c, 0x1800506bc\ncall    ?setDelegate@CCAccelerometer@cocos2d@@QEAAXPEAVCCAccelerometerDelegate@2@@Z; cocos2d::CCAccelerometer::setDelegate(cocos2d::CCAccelerometerDelegate *) ; +0x3f, 0x1800506bf\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x44, 0x1800506c4\nmov     rcx, rdi; this                                                 ; +0x49, 0x1800506c9\nadd     rsp, 20h                                                       ; +0x4c, 0x1800506cc\npop     rdi                                                            ; +0x50, 0x1800506d0\njmp     ?onEnterTransitionDidFinish@CCNode@cocos2d@@UEAAXXZ; cocos2d::CCNode::onEnterTransitionDidFinish(void) ; +0x51, 0x1800506d1", "xrefs": ["<???> @ 0x1800ed1a0", "<???> @ 0x1800ed660", "<???> @ 0x1800edb98", "<???> @ 0x1800ee100", "<???> @ 0x1800ee6d8", "<???> @ 0x1800f6fa8", "<???> @ 0x180137ff8", "<???> @ 0x180138008", "<???> @ 0x1801438a8", "<???> @ 0x1801b1fe0"], "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"}