{"type": "func", "start": 6442798768, "end": 6442799089, "name": "cocos2d::CCTransitionFade::onEnter", "pseudocode": "// \n// cocos2d::CCTransitionFade::onEnter from 0x180054eb0 to 0x180054ff1 (321 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x1800f32e0\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b2790\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::CCTransitionFade::onEnter(cocos2d::CCTransitionFade *this)\n{\n  struct cocos2d::CCDirector *v2; // rax\n  cocos2d::CCTouchDispatcher *v3; // rax\n  struct cocos2d::CCLayerColor *v4; // rbx\n  cocos2d::CCNode *v5; // rbp\n  cocos2d::CCAction *v6; // rsi\n  struct cocos2d::CCFadeOut *v7; // rdi\n  cocos2d::CCAction *v8; // rbx\n  struct cocos2d::CCFadeIn *v9; // rax\n  struct cocos2d::CCSequence *v10; // rax\n\n  cocos2d::CCNode::onEnter(this);\n  v2 = cocos2d::CCDirector::sharedDirector();\n  v3 = (cocos2d::CCTouchDispatcher *)((__int64 (__fastcall *)(struct cocos2d::CCDirector *))v2->getTouchDispatcher)(v2);\n  cocos2d::CCTouchDispatcher::setDispatchEvents(v3, 0);\n  (*(void (__fastcall **)(_QWORD))(**((_QWORD **)this + 42) + 704LL))(*((_QWORD *)this + 42));\n  (*(void (__fastcall **)(_QWORD))(**((_QWORD **)this + 41) + 680LL))(*((_QWORD *)this + 41));\n  v4 = cocos2d::CCLayerColor::create((const struct cocos2d::_ccColor4B *)this + 88);\n  (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 41) + 320LL))(*((_QWORD *)this + 41), 0);\n  ((void (__fastcall *)(cocos2d::CCTransitionFade *, struct cocos2d::CCLayerColor *, __int64, __int64))this->addChild)(\n    this,\n    v4,\n    2,\n    4208917214LL);\n  v5 = (cocos2d::CCNode *)((__int64 (__fastcall *)(cocos2d::CCTransitionFade *, __int64))this->getChildByTag)(\n                            this,\n                            4208917214LL);\n  v6 = cocos2d::CCCallFunc::create(this, (__int64)cocos2d::CCTransitionScene::finish);\n  v7 = cocos2d::CCFadeOut::create(*((float *)this + 86) * 0.5);\n  v8 = cocos2d::CCCallFunc::create(this, (__int64)cocos2d::CCTransitionScene::hideOutShowIn);\n  v9 = cocos2d::CCFadeIn::create(*((float *)this + 86) * 0.5);\n  v10 = cocos2d::CCSequence::create(v9, v8, v7, v6, 0);\n  cocos2d::CCNode::runAction(v5, v10);\n}", "assembly": "; \n; cocos2d::CCTransitionFade::onEnter from 0x180054eb0 to 0x180054ff1 (321 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x1800f32e0\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b2790\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180054eb0\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x180054eb5\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x180054eba\nmov     [rsp+arg_18], rdi                                              ; +0xf, 0x180054ebf\npush    r14                                                            ; +0x14, 0x180054ec4\nsub     rsp, 30h                                                       ; +0x16, 0x180054ec6\nmov     r14, rcx                                                       ; +0x1a, 0x180054eca\ncall    ?onEnter@CCNode@cocos2d@@UEAAXXZ; cocos2d::CCNode::onEnter(void) ; +0x1d, 0x180054ecd\ncall    ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x22, 0x180054ed2\nmov     rcx, rax                                                       ; +0x27, 0x180054ed7\nmov     rdx, [rax]                                                     ; +0x2a, 0x180054eda\ncall    qword ptr [rdx+90h]                                            ; +0x2d, 0x180054edd\nmov     rcx, rax; this                                                 ; +0x33, 0x180054ee3\nxor     edx, edx; bool                                                 ; +0x36, 0x180054ee6\ncall    ?setDispatchEvents@CCTouchDispatcher@cocos2d@@QEAAX_N@Z; cocos2d::CCTouchDispatcher::setDispatchEvents(bool) ; +0x38, 0x180054ee8\nmov     rcx, [r14+150h]                                                ; +0x3d, 0x180054eed\nmov     rax, [rcx]                                                     ; +0x44, 0x180054ef4\ncall    qword ptr [rax+2C0h]                                           ; +0x47, 0x180054ef7\nmov     rcx, [r14+148h]                                                ; +0x4d, 0x180054efd\nmov     rax, [rcx]                                                     ; +0x54, 0x180054f04\ncall    qword ptr [rax+2A8h]                                           ; +0x57, 0x180054f07\nlea     rcx, [r14+160h]; struct cocos2d::_ccColor4B *                  ; +0x5d, 0x180054f0d\ncall    ?create@CCLayerColor@cocos2d@@SAPEAV12@AEBU_ccColor4B@2@@Z; cocos2d::CCLayerColor::create(cocos2d::_ccColor4B const &) ; +0x64, 0x180054f14\nmov     rcx, [r14+148h]                                                ; +0x69, 0x180054f19\nxor     edx, edx                                                       ; +0x70, 0x180054f20\nmov     rbx, rax                                                       ; +0x72, 0x180054f22\nmov     r8, [rcx]                                                      ; +0x75, 0x180054f25\ncall    qword ptr [r8+140h]                                            ; +0x78, 0x180054f28\nmov     r10, [r14]                                                     ; +0x7f, 0x180054f2f\nmov     r9d, 0FADEFADEh                                                ; +0x82, 0x180054f32\nmov     r8d, 2                                                         ; +0x88, 0x180054f38\nmov     rdx, rbx                                                       ; +0x8e, 0x180054f3e\nmov     rcx, r14                                                       ; +0x91, 0x180054f41\ncall    qword ptr [r10+1B0h]                                           ; +0x94, 0x180054f44\nmov     rax, [r14]                                                     ; +0x9b, 0x180054f4b\nmov     edx, 0FADEFADEh                                                ; +0x9e, 0x180054f4e\nmov     rcx, r14                                                       ; +0xa3, 0x180054f53\ncall    qword ptr [rax+1C8h]                                           ; +0xa6, 0x180054f56\nlea     rdx, ?finish@CCTransitionScene@cocos2d@@QEAAXXZ; cocos2d::CCTransitionScene::finish(void) ; +0xac, 0x180054f5c\nmov     rcx, r14; this                                                 ; +0xb3, 0x180054f63\nmov     rbp, rax                                                       ; +0xb6, 0x180054f66\ncall    ?create@CCCallFunc@cocos2d@@SAPEAV12@PEAVCCObject@2@P832@EAAXXZ@Z; cocos2d::CCCallFunc::create(cocos2d::CCObject *,void (cocos2d::CCObject::*)(void)) ; +0xb9, 0x180054f69\nmovss   xmm0, dword ptr [r14+158h]                                     ; +0xbe, 0x180054f6e\nmov     rsi, rax                                                       ; +0xc7, 0x180054f77\nmulss   xmm0, cs:dword_1800E6308; float                                ; +0xca, 0x180054f7a\ncall    ?create@CCFadeOut@cocos2d@@SAPEAV12@M@Z; cocos2d::CCFadeOut::create(float) ; +0xd2, 0x180054f82\nlea     rdx, ?hideOutShowIn@CCTransitionScene@cocos2d@@QEAAXXZ; cocos2d::CCTransitionScene::hideOutShowIn(void) ; +0xd7, 0x180054f87\nmov     rcx, r14; this                                                 ; +0xde, 0x180054f8e\nmov     rdi, rax                                                       ; +0xe1, 0x180054f91\ncall    ?create@CCCallFunc@cocos2d@@SAPEAV12@PEAVCCObject@2@P832@EAAXXZ@Z; cocos2d::CCCallFunc::create(cocos2d::CCObject *,void (cocos2d::CCObject::*)(void)) ; +0xe4, 0x180054f94\nmovss   xmm0, dword ptr [r14+158h]                                     ; +0xe9, 0x180054f99\nmov     rbx, rax                                                       ; +0xf2, 0x180054fa2\nmulss   xmm0, cs:dword_1800E6308; float                                ; +0xf5, 0x180054fa5\ncall    ?create@CCFadeIn@cocos2d@@SAPEAV12@M@Z; cocos2d::CCFadeIn::create(float) ; +0xfd, 0x180054fad\nmov     rcx, rax; this                                                 ; +0x102, 0x180054fb2\nmov     [rsp+38h+var_18], 0                                            ; +0x105, 0x180054fb5\nmov     r9, rsi                                                        ; +0x10e, 0x180054fbe\nmov     r8, rdi                                                        ; +0x111, 0x180054fc1\nmov     rdx, rbx                                                       ; +0x114, 0x180054fc4\ncall    ?create@CCSequence@cocos2d@@SAPEAV12@PEAVCCFiniteTimeAction@2@ZZ; cocos2d::CCSequence::create(cocos2d::CCFiniteTimeAction *,...) ; +0x117, 0x180054fc7\nmov     rdx, rax; struct cocos2d::CCAction *                           ; +0x11c, 0x180054fcc\nmov     rcx, rbp; this                                                 ; +0x11f, 0x180054fcf\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x122, 0x180054fd2\nmov     rbp, [rsp+38h+arg_8]                                           ; +0x127, 0x180054fd7\nmov     rsi, [rsp+38h+arg_10]                                          ; +0x12c, 0x180054fdc\nmov     rdi, [rsp+38h+arg_18]                                          ; +0x131, 0x180054fe1\nadd     rsp, 30h                                                       ; +0x136, 0x180054fe6\npop     r14                                                            ; +0x13a, 0x180054fea\njmp     ?runAction@CCNode@cocos2d@@QEAAPEAVCCAction@2@PEAV32@@Z; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0x13c, 0x180054fec", "xrefs": ["<???> @ 0x1800f32e0", "<???> @ 0x1801438a8", "<???> @ 0x1801b2790"], "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"}