{"type": "func", "start": 6442806384, "end": 6442806724, "name": "cocos2d::CCTransitionFade::onEnter", "pseudocode": "// \n// cocos2d::CCTransitionFade::onEnter from 0x180056c70 to 0x180056dc4 (340 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x1800f9620\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bca24\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:47 +0000\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::CCActionManager **v5; // rbp\n  cocos2d::CCAction *v6; // rsi\n  float v7; // xmm6_4\n  struct cocos2d::CCFadeOut *v8; // rdi\n  cocos2d::CCAction *v9; // rbx\n  struct cocos2d::CCFiniteTimeAction *v10; // rax\n  struct cocos2d::CCAction *v11; // rax\n\n  cocos2d::CCNode::onEnter(this);\n  v2 = cocos2d::CCDirector::sharedDirector();\n  v3 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(struct cocos2d::CCDirector *))(*(_QWORD *)v2 + 144LL))(v2);\n  cocos2d::CCTouchDispatcher::setDispatchEvents(v3, 0);\n  (*(void (__fastcall **)(_QWORD))(**((_QWORD **)this + 42) + 720LL))(*((_QWORD *)this + 42));\n  (*(void (__fastcall **)(_QWORD))(**((_QWORD **)this + 41) + 696LL))(*((_QWORD *)this + 41));\n  v4 = cocos2d::CCLayerColor::create((cocos2d::CCTransitionFade *)((char *)this + 352));\n  (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 41) + 336LL))(*((_QWORD *)this + 41), 0);\n  (*(void (__fastcall **)(cocos2d::CCTransitionFade *, struct cocos2d::CCLayerColor *, __int64, __int64))(*(_QWORD *)this + 448LL))(\n    this,\n    v4,\n    2,\n    4208917214LL);\n  v5 = (cocos2d::CCActionManager **)(*(__int64 (__fastcall **)(cocos2d::CCTransitionFade *, __int64))(*(_QWORD *)this + 472LL))(\n                                      this,\n                                      4208917214LL);\n  v6 = cocos2d::CCCallFunc::create(this, (__int64)cocos2d::CCTransitionScene::finish);\n  v7 = *((float *)this + 86) * 0.5;\n  v8 = cocos2d::CCFadeOut::create(v7);\n  v9 = cocos2d::CCCallFunc::create(this, (__int64)cocos2d::CCTransitionScene::hideOutShowIn);\n  v10 = cocos2d::CCFadeIn::create(v7);\n  v11 = cocos2d::CCSequence::create(v10, v9, v8, v6, 0);\n  cocos2d::CCNode::runAction(v5, v11);\n}", "assembly": "; \n; cocos2d::CCTransitionFade::onEnter from 0x180056c70 to 0x180056dc4 (340 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x1800f9620\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bca24\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:47 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180056c70\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x180056c75\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x180056c7a\nmov     [rsp+arg_18], rdi                                              ; +0xf, 0x180056c7f\npush    r14                                                            ; +0x14, 0x180056c84\nsub     rsp, 40h                                                       ; +0x16, 0x180056c86\nmovaps  [rsp+48h+var_18], xmm6                                         ; +0x1a, 0x180056c8a\nmov     r14, rcx                                                       ; +0x1f, 0x180056c8f\ncall    ?onEnter@CCNode@cocos2d@@UEAAXXZ; cocos2d::CCNode::onEnter(void) ; +0x22, 0x180056c92\ncall    ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x27, 0x180056c97\nmov     rcx, rax                                                       ; +0x2c, 0x180056c9c\nmov     rdx, [rax]                                                     ; +0x2f, 0x180056c9f\ncall    qword ptr [rdx+90h]                                            ; +0x32, 0x180056ca2\nmov     rcx, rax; this                                                 ; +0x38, 0x180056ca8\nxor     edx, edx; bool                                                 ; +0x3b, 0x180056cab\ncall    ?setDispatchEvents@CCTouchDispatcher@cocos2d@@QEAAX_N@Z; cocos2d::CCTouchDispatcher::setDispatchEvents(bool) ; +0x3d, 0x180056cad\nmov     rcx, [r14+150h]                                                ; +0x42, 0x180056cb2\nmov     rax, [rcx]                                                     ; +0x49, 0x180056cb9\ncall    qword ptr [rax+2D0h]                                           ; +0x4c, 0x180056cbc\nmov     rcx, [r14+148h]                                                ; +0x52, 0x180056cc2\nmov     rax, [rcx]                                                     ; +0x59, 0x180056cc9\ncall    qword ptr [rax+2B8h]                                           ; +0x5c, 0x180056ccc\nlea     rcx, [r14+160h]; struct cocos2d::_ccColor4B *                  ; +0x62, 0x180056cd2\ncall    ?create@CCLayerColor@cocos2d@@SAPEAV12@AEBU_ccColor4B@2@@Z; cocos2d::CCLayerColor::create(cocos2d::_ccColor4B const &) ; +0x69, 0x180056cd9\nmov     rcx, [r14+148h]                                                ; +0x6e, 0x180056cde\nmov     rbx, rax                                                       ; +0x75, 0x180056ce5\nmov     rdx, [rcx]                                                     ; +0x78, 0x180056ce8\nmov     r8, [rdx+150h]                                                 ; +0x7b, 0x180056ceb\nxor     edx, edx                                                       ; +0x82, 0x180056cf2\ncall    r8                                                             ; +0x84, 0x180056cf4\nmov     rcx, [r14]                                                     ; +0x87, 0x180056cf7\nmov     r9d, 0FADEFADEh                                                ; +0x8a, 0x180056cfa\nmov     r8d, 2                                                         ; +0x90, 0x180056d00\nmov     rdx, rbx                                                       ; +0x96, 0x180056d06\nmov     r10, [rcx+1C0h]                                                ; +0x99, 0x180056d09\nmov     rcx, r14                                                       ; +0xa0, 0x180056d10\ncall    r10                                                            ; +0xa3, 0x180056d13\nmov     rax, [r14]                                                     ; +0xa6, 0x180056d16\nmov     edx, 0FADEFADEh                                                ; +0xa9, 0x180056d19\nmov     rcx, r14                                                       ; +0xae, 0x180056d1e\ncall    qword ptr [rax+1D8h]                                           ; +0xb1, 0x180056d21\nlea     rdx, ?finish@CCTransitionScene@cocos2d@@QEAAXXZ; cocos2d::CCTransitionScene::finish(void) ; +0xb7, 0x180056d27\nmov     rcx, r14; this                                                 ; +0xbe, 0x180056d2e\nmov     rbp, rax                                                       ; +0xc1, 0x180056d31\ncall    ?create@CCCallFunc@cocos2d@@SAPEAV12@PEAVCCObject@2@P832@EAAXXZ@Z; cocos2d::CCCallFunc::create(cocos2d::CCObject *,void (cocos2d::CCObject::*)(void)) ; +0xc4, 0x180056d34\nmovss   xmm0, dword ptr [r14+158h]                                     ; +0xc9, 0x180056d39\nmov     rsi, rax                                                       ; +0xd2, 0x180056d42\nmovss   xmm6, dword ptr [r14+158h]                                     ; +0xd5, 0x180056d45\nmulss   xmm0, cs:dword_1800EC358; float                                ; +0xde, 0x180056d4e\nmulss   xmm6, cs:dword_1800EC358                                       ; +0xe6, 0x180056d56\ncall    ?create@CCFadeOut@cocos2d@@SAPEAV12@M@Z; cocos2d::CCFadeOut::create(float) ; +0xee, 0x180056d5e\nlea     rdx, ?hideOutShowIn@CCTransitionScene@cocos2d@@QEAAXXZ; cocos2d::CCTransitionScene::hideOutShowIn(void) ; +0xf3, 0x180056d63\nmov     rcx, r14; this                                                 ; +0xfa, 0x180056d6a\nmov     rdi, rax                                                       ; +0xfd, 0x180056d6d\ncall    ?create@CCCallFunc@cocos2d@@SAPEAV12@PEAVCCObject@2@P832@EAAXXZ@Z; cocos2d::CCCallFunc::create(cocos2d::CCObject *,void (cocos2d::CCObject::*)(void)) ; +0x100, 0x180056d70\nmovaps  xmm0, xmm6; float                                              ; +0x105, 0x180056d75\nmov     rbx, rax                                                       ; +0x108, 0x180056d78\ncall    ?create@CCFadeIn@cocos2d@@SAPEAV12@M@Z; cocos2d::CCFadeIn::create(float) ; +0x10b, 0x180056d7b\nmov     rcx, rax; this                                                 ; +0x110, 0x180056d80\nmov     [rsp+48h+var_28], 0                                            ; +0x113, 0x180056d83\nmov     r9, rsi                                                        ; +0x11c, 0x180056d8c\nmov     r8, rdi                                                        ; +0x11f, 0x180056d8f\nmov     rdx, rbx                                                       ; +0x122, 0x180056d92\ncall    ?create@CCSequence@cocos2d@@SAPEAV12@PEAVCCFiniteTimeAction@2@ZZ; cocos2d::CCSequence::create(cocos2d::CCFiniteTimeAction *,...) ; +0x125, 0x180056d95\nmov     rdx, rax; struct cocos2d::CCAction *                           ; +0x12a, 0x180056d9a\nmov     rcx, rbp; this                                                 ; +0x12d, 0x180056d9d\nmov     rbx, [rsp+48h+arg_0]                                           ; +0x130, 0x180056da0\nmov     rbp, [rsp+48h+arg_8]                                           ; +0x135, 0x180056da5\nmov     rsi, [rsp+48h+arg_10]                                          ; +0x13a, 0x180056daa\nmov     rdi, [rsp+48h+arg_18]                                          ; +0x13f, 0x180056daf\nmovaps  xmm6, [rsp+48h+var_18]                                         ; +0x144, 0x180056db4\nadd     rsp, 40h                                                       ; +0x149, 0x180056db9\npop     r14                                                            ; +0x14d, 0x180056dbd\njmp     ?runAction@CCNode@cocos2d@@QEAAPEAVCCAction@2@PEAV32@@Z; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0x14f, 0x180056dbf", "xrefs": ["<???> @ 0x1800f9620", "<???> @ 0x18014cf68", "<???> @ 0x1801bca24"], "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"}