{"type": "func", "start": 6442806736, "end": 6442807018, "name": "cocos2d::CCTransitionFadeTR::onEnter", "pseudocode": "// \n// cocos2d::CCTransitionFadeTR::onEnter from 0x180056dd0 to 0x180056eea (282 bytes)\n// \n// 6 xrefs:\n// > <???> @ 0x1800fa838\n// > <???> @ 0x1800fabe0\n// > <???> @ 0x1800faf88\n// > <???> @ 0x1800fb330\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bca30\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::CCTransitionFadeTR::onEnter(cocos2d::CCActionManager ***this)\n{\n  struct cocos2d::CCDirector *v2; // rax\n  cocos2d::CCTouchDispatcher *v3; // rax\n  struct cocos2d::CCDirector *v4; // rax\n  cocos2d::CCActionManager **v5; // rbx\n  float *v6; // rax\n  __int64 v7; // rbp\n  cocos2d::CCActionManager **v8; // r15\n  __int64 (__fastcall *v9)(cocos2d::CCActionManager ***, __int64); // rdi\n  struct cocos2d::CCStopGrid *v10; // rsi\n  cocos2d::CCAction *v11; // rbx\n  struct cocos2d::CCFiniteTimeAction *v12; // rax\n  struct cocos2d::CCAction *v13; // rax\n  float v14; // [rsp+50h] [rbp+8h] BYREF\n  float v15; // [rsp+54h] [rbp+Ch]\n  float v16; // [rsp+58h] [rbp+10h] BYREF\n\n  cocos2d::CCNode::onEnter((cocos2d::CCNode *)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))**(this + 42) + 90))(*(this + 42));\n  (*((void (__fastcall **)(_QWORD))**(this + 41) + 87))(*(this + 41));\n  v4 = cocos2d::CCDirector::sharedDirector();\n  cocos2d::CCDirector::getWinSize(v4, &v14);\n  v5 = *this;\n  v6 = kmVec2Fill(&v16, (float)(int)(float)((float)(v14 / v15) * 12.0), 12.0);\n  v7 = ((__int64 (__fastcall *)(cocos2d::CCActionManager ***, float *))v5[113])(this, v6);\n  v8 = *(this + 42);\n  v9 = (__int64 (__fastcall *)(cocos2d::CCActionManager ***, __int64))**(this + 44);\n  v10 = cocos2d::CCStopGrid::create();\n  v11 = cocos2d::CCCallFunc::create((cocos2d::CCObject *)this, (__int64)cocos2d::CCTransitionScene::finish);\n  v12 = (struct cocos2d::CCFiniteTimeAction *)v9(this + 44, v7);\n  v13 = cocos2d::CCSequence::create(v12, v11, v10, 0);\n  cocos2d::CCNode::runAction(v8, v13);\n}", "assembly": "; \n; cocos2d::CCTransitionFadeTR::onEnter from 0x180056dd0 to 0x180056eea (282 bytes)\n; \n; 6 xrefs:\n; > <???> @ 0x1800fa838\n; > <???> @ 0x1800fabe0\n; > <???> @ 0x1800faf88\n; > <???> @ 0x1800fb330\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bca30\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_10], rbx                                              ; +0x0, 0x180056dd0\nmov     [rsp+arg_18], rbp                                              ; +0x5, 0x180056dd5\npush    rsi                                                            ; +0xa, 0x180056dda\npush    rdi                                                            ; +0xb, 0x180056ddb\npush    r12                                                            ; +0xc, 0x180056ddc\npush    r14                                                            ; +0xe, 0x180056dde\npush    r15                                                            ; +0x10, 0x180056de0\nsub     rsp, 20h                                                       ; +0x12, 0x180056de2\nmov     r12, rcx                                                       ; +0x16, 0x180056de6\ncall    ?onEnter@CCNode@cocos2d@@UEAAXXZ; cocos2d::CCNode::onEnter(void) ; +0x19, 0x180056de9\ncall    ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x1e, 0x180056dee\nmov     rcx, rax                                                       ; +0x23, 0x180056df3\nmov     rdx, [rax]                                                     ; +0x26, 0x180056df6\ncall    qword ptr [rdx+90h]                                            ; +0x29, 0x180056df9\nmov     rcx, rax; this                                                 ; +0x2f, 0x180056dff\nxor     edx, edx; bool                                                 ; +0x32, 0x180056e02\ncall    ?setDispatchEvents@CCTouchDispatcher@cocos2d@@QEAAX_N@Z; cocos2d::CCTouchDispatcher::setDispatchEvents(bool) ; +0x34, 0x180056e04\nmov     rcx, [r12+150h]                                                ; +0x39, 0x180056e09\nmov     rax, [rcx]                                                     ; +0x41, 0x180056e11\ncall    qword ptr [rax+2D0h]                                           ; +0x44, 0x180056e14\nmov     rcx, [r12+148h]                                                ; +0x4a, 0x180056e1a\nmov     rax, [rcx]                                                     ; +0x52, 0x180056e22\ncall    qword ptr [rax+2B8h]                                           ; +0x55, 0x180056e25\ncall    ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x5b, 0x180056e2b\nmov     rcx, rax                                                       ; +0x60, 0x180056e30\nlea     rdx, [rsp+48h+arg_0]                                           ; +0x63, 0x180056e33\ncall    ?getWinSize@CCDirector@cocos2d@@QEAA?AVCCSize@2@XZ; cocos2d::CCDirector::getWinSize(void) ; +0x68, 0x180056e38\nmovss   xmm0, [rsp+48h+arg_0]                                          ; +0x6d, 0x180056e3d\nlea     rcx, [rsp+48h+arg_8]                                           ; +0x73, 0x180056e43\ndivss   xmm0, [rsp+48h+arg_4]                                          ; +0x78, 0x180056e48\nmov     rbx, [r12]                                                     ; +0x7e, 0x180056e4e\nmovss   xmm2, cs:dword_1800ED378                                       ; +0x82, 0x180056e52\nmulss   xmm0, xmm2                                                     ; +0x8a, 0x180056e5a\ncvttss2si eax, xmm0                                                    ; +0x8e, 0x180056e5e\nmovd    xmm1, eax                                                      ; +0x92, 0x180056e62\ncvtdq2ps xmm1, xmm1                                                    ; +0x96, 0x180056e66\ncall    kmVec2Fill                                                     ; +0x99, 0x180056e69\nmov     rdx, rax                                                       ; +0x9e, 0x180056e6e\nmov     rcx, r12                                                       ; +0xa1, 0x180056e71\ncall    qword ptr [rbx+388h]                                           ; +0xa4, 0x180056e74\nmov     rdx, [r12+160h]                                                ; +0xaa, 0x180056e7a\nmov     rbp, rax                                                       ; +0xb2, 0x180056e82\nmov     r15, [r12+150h]                                                ; +0xb5, 0x180056e85\nmov     rdi, [rdx]                                                     ; +0xbd, 0x180056e8d\ncall    ?create@CCStopGrid@cocos2d@@SAPEAV12@XZ; cocos2d::CCStopGrid::create(void) ; +0xc0, 0x180056e90\nlea     rdx, ?finish@CCTransitionScene@cocos2d@@QEAAXXZ; cocos2d::CCTransitionScene::finish(void) ; +0xc5, 0x180056e95\nmov     rcx, r12; this                                                 ; +0xcc, 0x180056e9c\nmov     rsi, rax                                                       ; +0xcf, 0x180056e9f\ncall    ?create@CCCallFunc@cocos2d@@SAPEAV12@PEAVCCObject@2@P832@EAAXXZ@Z; cocos2d::CCCallFunc::create(cocos2d::CCObject *,void (cocos2d::CCObject::*)(void)) ; +0xd2, 0x180056ea2\nmov     rdx, rbp                                                       ; +0xd7, 0x180056ea7\nlea     rcx, [r12+160h]                                                ; +0xda, 0x180056eaa\nmov     rbx, rax                                                       ; +0xe2, 0x180056eb2\ncall    rdi                                                            ; +0xe5, 0x180056eb5\nmov     rcx, rax; this                                                 ; +0xe7, 0x180056eb7\nxor     r9d, r9d                                                       ; +0xea, 0x180056eba\nmov     r8, rsi                                                        ; +0xed, 0x180056ebd\nmov     rdx, rbx                                                       ; +0xf0, 0x180056ec0\ncall    ?create@CCSequence@cocos2d@@SAPEAV12@PEAVCCFiniteTimeAction@2@ZZ; cocos2d::CCSequence::create(cocos2d::CCFiniteTimeAction *,...) ; +0xf3, 0x180056ec3\nmov     rdx, rax; struct cocos2d::CCAction *                           ; +0xf8, 0x180056ec8\nmov     rcx, r15; this                                                 ; +0xfb, 0x180056ecb\ncall    ?runAction@CCNode@cocos2d@@QEAAPEAVCCAction@2@PEAV32@@Z; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0xfe, 0x180056ece\nmov     rbx, [rsp+48h+arg_10]                                          ; +0x103, 0x180056ed3\nmov     rbp, [rsp+48h+arg_18]                                          ; +0x108, 0x180056ed8\nadd     rsp, 20h                                                       ; +0x10d, 0x180056edd\npop     r15                                                            ; +0x111, 0x180056ee1\npop     r14                                                            ; +0x113, 0x180056ee3\npop     r12                                                            ; +0x115, 0x180056ee5\npop     rdi                                                            ; +0x117, 0x180056ee7\npop     rsi                                                            ; +0x118, 0x180056ee8\nretn                                                                   ; +0x119, 0x180056ee9", "xrefs": ["<???> @ 0x1800fa838", "<???> @ 0x1800fabe0", "<???> @ 0x1800faf88", "<???> @ 0x1800fb330", "<???> @ 0x18014cf68", "<???> @ 0x1801bca30"], "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"}