{"type": "func", "start": 6442810944, "end": 6442811208, "name": "cocos2d::CCTransitionTurnOffTiles::onEnter", "pseudocode": "// \n// cocos2d::CCTransitionTurnOffTiles::onEnter from 0x180057e40 to 0x180057f48 (264 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x1800f9d48\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bcab4\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::CCTransitionTurnOffTiles::onEnter(cocos2d::CCTransitionTurnOffTiles *this)\n{\n  struct cocos2d::CCDirector *v2; // rax\n  cocos2d::CCTouchDispatcher *v3; // rax\n  struct cocos2d::CCDirector *v4; // rax\n  float v5; // xmm6_4\n  float *v6; // rax\n  struct cocos2d::CCTurnOffTiles *v7; // rax\n  __int64 v8; // rax\n  cocos2d::CCActionManager **v9; // rsi\n  struct cocos2d::CCFiniteTimeAction *v10; // rdi\n  struct cocos2d::CCStopGrid *v11; // rbx\n  cocos2d::CCAction *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(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::CCDirector::sharedDirector();\n  cocos2d::CCDirector::getWinSize(v4, &v14);\n  v5 = *((float *)this + 86);\n  v6 = kmVec2Fill(&v16, (float)(int)(float)((float)(v14 / v15) * 12.0), 12.0);\n  v7 = cocos2d::CCTurnOffTiles::create(v5, (const struct cocos2d::CCSize *)v6);\n  v8 = (**((__int64 (__fastcall ***)(char *, struct cocos2d::CCTurnOffTiles *))this + 44))((char *)this + 352, v7);\n  v9 = *((cocos2d::CCActionManager ***)this + 42);\n  v10 = (struct cocos2d::CCFiniteTimeAction *)v8;\n  v11 = cocos2d::CCStopGrid::create();\n  v12 = cocos2d::CCCallFunc::create(this, (__int64)cocos2d::CCTransitionScene::finish);\n  v13 = cocos2d::CCSequence::create(v10, v12, v11, 0);\n  cocos2d::CCNode::runAction(v9, v13);\n}", "assembly": "; \n; cocos2d::CCTransitionTurnOffTiles::onEnter from 0x180057e40 to 0x180057f48 (264 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x1800f9d48\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bcab4\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, 0x180057e40\npush    rbp                                                            ; +0x5, 0x180057e45\npush    rsi                                                            ; +0x6, 0x180057e46\npush    rdi                                                            ; +0x7, 0x180057e47\nsub     rsp, 30h                                                       ; +0x8, 0x180057e48\nmovaps  [rsp+48h+var_28], xmm6                                         ; +0xc, 0x180057e4c\nmov     rbp, rcx                                                       ; +0x11, 0x180057e51\ncall    ?onEnter@CCNode@cocos2d@@UEAAXXZ; cocos2d::CCNode::onEnter(void) ; +0x14, 0x180057e54\ncall    ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x19, 0x180057e59\nmov     rcx, rax                                                       ; +0x1e, 0x180057e5e\nmov     rdx, [rax]                                                     ; +0x21, 0x180057e61\ncall    qword ptr [rdx+90h]                                            ; +0x24, 0x180057e64\nmov     rcx, rax; this                                                 ; +0x2a, 0x180057e6a\nxor     edx, edx; bool                                                 ; +0x2d, 0x180057e6d\ncall    ?setDispatchEvents@CCTouchDispatcher@cocos2d@@QEAAX_N@Z; cocos2d::CCTouchDispatcher::setDispatchEvents(bool) ; +0x2f, 0x180057e6f\nmov     rcx, [rbp+150h]                                                ; +0x34, 0x180057e74\nmov     rax, [rcx]                                                     ; +0x3b, 0x180057e7b\ncall    qword ptr [rax+2D0h]                                           ; +0x3e, 0x180057e7e\nmov     rcx, [rbp+148h]                                                ; +0x44, 0x180057e84\nmov     rax, [rcx]                                                     ; +0x4b, 0x180057e8b\ncall    qword ptr [rax+2B8h]                                           ; +0x4e, 0x180057e8e\ncall    ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x54, 0x180057e94\nmov     rcx, rax                                                       ; +0x59, 0x180057e99\nlea     rdx, [rsp+48h+arg_0]                                           ; +0x5c, 0x180057e9c\ncall    ?getWinSize@CCDirector@cocos2d@@QEAA?AVCCSize@2@XZ; cocos2d::CCDirector::getWinSize(void) ; +0x61, 0x180057ea1\nmovss   xmm1, [rsp+48h+arg_0]                                          ; +0x66, 0x180057ea6\nlea     rcx, [rsp+48h+arg_8]                                           ; +0x6c, 0x180057eac\ndivss   xmm1, [rsp+48h+arg_4]                                          ; +0x71, 0x180057eb1\nmovss   xmm2, cs:dword_1800ED378                                       ; +0x77, 0x180057eb7\nmovss   xmm6, dword ptr [rbp+158h]                                     ; +0x7f, 0x180057ebf\nmulss   xmm1, xmm2                                                     ; +0x87, 0x180057ec7\ncvttss2si eax, xmm1                                                    ; +0x8b, 0x180057ecb\nmovd    xmm1, eax                                                      ; +0x8f, 0x180057ecf\ncvtdq2ps xmm1, xmm1                                                    ; +0x93, 0x180057ed3\ncall    kmVec2Fill                                                     ; +0x96, 0x180057ed6\nmov     rdx, rax; struct cocos2d::CCSize *                             ; +0x9b, 0x180057edb\nmovaps  xmm0, xmm6; float                                              ; +0x9e, 0x180057ede\ncall    ?create@CCTurnOffTiles@cocos2d@@SAPEAV12@MAEBVCCSize@2@@Z; cocos2d::CCTurnOffTiles::create(float,cocos2d::CCSize const &) ; +0xa1, 0x180057ee1\nlea     rcx, [rbp+160h]                                                ; +0xa6, 0x180057ee6\nmov     rdx, [rcx]                                                     ; +0xad, 0x180057eed\nmov     r8, [rdx]                                                      ; +0xb0, 0x180057ef0\nmov     rdx, rax                                                       ; +0xb3, 0x180057ef3\ncall    r8                                                             ; +0xb6, 0x180057ef6\nmov     rsi, [rbp+150h]                                                ; +0xb9, 0x180057ef9\nmov     rdi, rax                                                       ; +0xc0, 0x180057f00\ncall    ?create@CCStopGrid@cocos2d@@SAPEAV12@XZ; cocos2d::CCStopGrid::create(void) ; +0xc3, 0x180057f03\nlea     rdx, ?finish@CCTransitionScene@cocos2d@@QEAAXXZ; cocos2d::CCTransitionScene::finish(void) ; +0xc8, 0x180057f08\nmov     rcx, rbp; this                                                 ; +0xcf, 0x180057f0f\nmov     rbx, rax                                                       ; +0xd2, 0x180057f12\ncall    ?create@CCCallFunc@cocos2d@@SAPEAV12@PEAVCCObject@2@P832@EAAXXZ@Z; cocos2d::CCCallFunc::create(cocos2d::CCObject *,void (cocos2d::CCObject::*)(void)) ; +0xd5, 0x180057f15\nmov     rdx, rax                                                       ; +0xda, 0x180057f1a\nxor     r9d, r9d                                                       ; +0xdd, 0x180057f1d\nmov     r8, rbx                                                        ; +0xe0, 0x180057f20\nmov     rcx, rdi; this                                                 ; +0xe3, 0x180057f23\ncall    ?create@CCSequence@cocos2d@@SAPEAV12@PEAVCCFiniteTimeAction@2@ZZ; cocos2d::CCSequence::create(cocos2d::CCFiniteTimeAction *,...) ; +0xe6, 0x180057f26\nmov     rdx, rax; struct cocos2d::CCAction *                           ; +0xeb, 0x180057f2b\nmov     rcx, rsi; this                                                 ; +0xee, 0x180057f2e\ncall    ?runAction@CCNode@cocos2d@@QEAAPEAVCCAction@2@PEAV32@@Z; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0xf1, 0x180057f31\nmov     rbx, [rsp+48h+arg_10]                                          ; +0xf6, 0x180057f36\nmovaps  xmm6, [rsp+48h+var_28]                                         ; +0xfb, 0x180057f3b\nadd     rsp, 30h                                                       ; +0x100, 0x180057f40\npop     rdi                                                            ; +0x104, 0x180057f44\npop     rsi                                                            ; +0x105, 0x180057f45\npop     rbp                                                            ; +0x106, 0x180057f46\nretn                                                                   ; +0x107, 0x180057f47", "xrefs": ["<???> @ 0x1800f9d48", "<???> @ 0x18014cf68", "<???> @ 0x1801bcab4"], "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"}