{"type": "func", "start": 6442816608, "end": 6442817100, "name": "cocos2d::CCTransitionProgress::onEnter", "pseudocode": "// \n// cocos2d::CCTransitionProgress::onEnter from 0x180059460 to 0x18005964c (492 bytes)\n// \n// 9 xrefs:\n// > <???> @ 0x1800fba88\n// > <???> @ 0x1800fbe28\n// > <???> @ 0x1800fc1c8\n// > <???> @ 0x1800fc568\n// > <???> @ 0x1800fc908\n// > <???> @ 0x1800fcca8\n// > <???> @ 0x1800fd048\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bcc28\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:48 +0000\n// \n\nvoid __fastcall cocos2d::CCTransitionProgress::onEnter(cocos2d::CCTransitionProgress *this)\n{\n  struct cocos2d::CCDirector *v2; // rax\n  cocos2d::CCRenderTexture *v3; // r14\n  __int64 *v4; // rdi\n  __int64 v5; // rbx\n  float *v6; // rax\n  __int64 v7; // rbx\n  float *v8; // rax\n  __int64 v9; // rbx\n  float *v10; // rax\n  __int64 v11; // rdx\n  cocos2d::CCActionManager **v12; // rdi\n  float v13; // xmm2_4\n  float v14; // xmm1_4\n  float v15; // xmm0_4\n  cocos2d::CCAction *v16; // rbx\n  struct cocos2d::CCFiniteTimeAction *v17; // rax\n  struct cocos2d::CCAction *v18; // rax\n  float v19; // [rsp+80h] [rbp+8h] BYREF\n  float v20; // [rsp+84h] [rbp+Ch]\n  float v21; // [rsp+88h] [rbp+10h] BYREF\n\n  cocos2d::CCTransitionScene::onEnter(this);\n  (*(void (__fastcall **)(cocos2d::CCTransitionProgress *))(*(_QWORD *)this + 912LL))(this);\n  v2 = cocos2d::CCDirector::sharedDirector();\n  cocos2d::CCDirector::getWinSize(v2, &v19);\n  v3 = cocos2d::CCRenderTexture::create((int)v19, (int)v20);\n  v4 = (__int64 *)(*(__int64 (__fastcall **)(cocos2d::CCRenderTexture *))(*(_QWORD *)v3 + 888LL))(v3);\n  v5 = *v4;\n  v6 = kmVec2Fill(&v21, 0.5, 0.5);\n  (*(void (__fastcall **)(__int64 *, float *))(v5 + 288))(v4, v6);\n  v7 = *(_QWORD *)v3;\n  v8 = kmVec2Fill(&v21, v19 * 0.5, v20 * 0.5);\n  (*(void (__fastcall **)(cocos2d::CCRenderTexture *, float *))(v7 + 184))(v3, v8);\n  v9 = *(_QWORD *)v3;\n  v10 = kmVec2Fill(&v21, 0.5, 0.5);\n  (*(void (__fastcall **)(cocos2d::CCRenderTexture *, float *))(v9 + 288))(v3, v10);\n  cocos2d::CCRenderTexture::clear(v3, 0.0, 0.0, 0.0, 1.0);\n  cocos2d::CCRenderTexture::begin(v3);\n  (*(void (__fastcall **)(_QWORD))(**((_QWORD **)this + 45) + 744LL))(*((_QWORD *)this + 45));\n  cocos2d::CCRenderTexture::end(v3);\n  if ( *((_QWORD *)this + 45) == *((_QWORD *)this + 42) )\n    cocos2d::CCTransitionScene::hideOutShowIn(this, v11);\n  v12 = (cocos2d::CCActionManager **)(*(__int64 (__fastcall **)(cocos2d::CCTransitionProgress *, cocos2d::CCRenderTexture *))(*(_QWORD *)this + 904LL))(\n                                       this,\n                                       v3);\n  v13 = *((float *)this + 88);\n  v14 = *((float *)this + 89);\n  v15 = *((float *)this + 86);\n  v16 = cocos2d::CCCallFunc::create(this, (__int64)cocos2d::CCTransitionScene::finish);\n  v17 = cocos2d::CCProgressFromTo::create(v15, v14, v13);\n  v18 = cocos2d::CCSequence::create(v17, v16, 0);\n  cocos2d::CCNode::runAction(v12, v18);\n  (*(void (__fastcall **)(cocos2d::CCTransitionProgress *, cocos2d::CCActionManager **, __int64, __int64))(*(_QWORD *)this + 448LL))(\n    this,\n    v12,\n    2,\n    49153);\n}", "assembly": "; \n; cocos2d::CCTransitionProgress::onEnter from 0x180059460 to 0x18005964c (492 bytes)\n; \n; 9 xrefs:\n; > <???> @ 0x1800fba88\n; > <???> @ 0x1800fbe28\n; > <???> @ 0x1800fc1c8\n; > <???> @ 0x1800fc568\n; > <???> @ 0x1800fc908\n; > <???> @ 0x1800fcca8\n; > <???> @ 0x1800fd048\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bcc28\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:48 +0000\n; \nmov     [rsp+arg_10], rbx                                              ; +0x0, 0x180059460\npush    rsi                                                            ; +0x5, 0x180059465\npush    rdi                                                            ; +0x6, 0x180059466\npush    r14                                                            ; +0x7, 0x180059467\nsub     rsp, 60h                                                       ; +0x9, 0x180059469\nmovaps  [rsp+78h+var_28], xmm6                                         ; +0xd, 0x18005946d\nmov     rsi, rcx                                                       ; +0x12, 0x180059472\nmovaps  [rsp+78h+var_38], xmm7                                         ; +0x15, 0x180059475\nmovaps  [rsp+78h+var_48], xmm8                                         ; +0x1a, 0x18005947a\ncall    ?onEnter@CCTransitionScene@cocos2d@@UEAAXXZ; cocos2d::CCTransitionScene::onEnter(void) ; +0x20, 0x180059480\nmov     rax, [rsi]                                                     ; +0x25, 0x180059485\nmov     rcx, rsi                                                       ; +0x28, 0x180059488\ncall    qword ptr [rax+390h]                                           ; +0x2b, 0x18005948b\ncall    ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x31, 0x180059491\nmov     rcx, rax                                                       ; +0x36, 0x180059496\nlea     rdx, [rsp+78h+arg_0]                                           ; +0x39, 0x180059499\ncall    ?getWinSize@CCDirector@cocos2d@@QEAA?AVCCSize@2@XZ; cocos2d::CCDirector::getWinSize(void) ; +0x41, 0x1800594a1\ncvttss2si edx, [rsp+78h+arg_4]; int                                    ; +0x46, 0x1800594a6\ncvttss2si ecx, [rsp+78h+arg_0]; int                                    ; +0x4f, 0x1800594af\ncall    ?create@CCRenderTexture@cocos2d@@SAPEAV12@HH@Z; cocos2d::CCRenderTexture::create(int,int) ; +0x58, 0x1800594b8\nmov     r14, rax                                                       ; +0x5d, 0x1800594bd\nmov     rcx, [rax]                                                     ; +0x60, 0x1800594c0\nmov     rdx, [rcx+378h]                                                ; +0x63, 0x1800594c3\nmov     rcx, rax                                                       ; +0x6a, 0x1800594ca\ncall    rdx                                                            ; +0x6d, 0x1800594cd\nmovss   xmm6, cs:dword_1800EC358                                       ; +0x6f, 0x1800594cf\nlea     rcx, [rsp+78h+arg_8]                                           ; +0x77, 0x1800594d7\nmovaps  xmm2, xmm6                                                     ; +0x7f, 0x1800594df\nmovaps  xmm1, xmm6                                                     ; +0x82, 0x1800594e2\nmov     rdi, rax                                                       ; +0x85, 0x1800594e5\nmov     rbx, [rax]                                                     ; +0x88, 0x1800594e8\ncall    kmVec2Fill                                                     ; +0x8b, 0x1800594eb\nmov     rdx, rax                                                       ; +0x90, 0x1800594f0\nmov     rcx, rdi                                                       ; +0x93, 0x1800594f3\ncall    qword ptr [rbx+120h]                                           ; +0x96, 0x1800594f6\nmovss   xmm2, [rsp+78h+arg_4]                                          ; +0x9c, 0x1800594fc\nlea     rcx, [rsp+78h+arg_8]                                           ; +0xa5, 0x180059505\nmovss   xmm1, [rsp+78h+arg_0]                                          ; +0xad, 0x18005950d\nmov     rbx, [r14]                                                     ; +0xb6, 0x180059516\nmulss   xmm2, xmm6                                                     ; +0xb9, 0x180059519\nmulss   xmm1, xmm6                                                     ; +0xbd, 0x18005951d\ncall    kmVec2Fill                                                     ; +0xc1, 0x180059521\nmov     rdx, rax                                                       ; +0xc6, 0x180059526\nmov     rcx, r14                                                       ; +0xc9, 0x180059529\ncall    qword ptr [rbx+0B8h]                                           ; +0xcc, 0x18005952c\nmov     rbx, [r14]                                                     ; +0xd2, 0x180059532\nlea     rcx, [rsp+78h+arg_8]                                           ; +0xd5, 0x180059535\nmovaps  xmm2, xmm6                                                     ; +0xdd, 0x18005953d\nmovaps  xmm1, xmm6                                                     ; +0xe0, 0x180059540\ncall    kmVec2Fill                                                     ; +0xe3, 0x180059543\nmov     rdx, rax                                                       ; +0xe8, 0x180059548\nmov     rcx, r14                                                       ; +0xeb, 0x18005954b\ncall    qword ptr [rbx+120h]                                           ; +0xee, 0x18005954e\nmovss   xmm0, cs:flt_1800EC208                                         ; +0xf4, 0x180059554\nxorps   xmm3, xmm3; float                                              ; +0xfc, 0x18005955c\nxorps   xmm2, xmm2; float                                              ; +0xff, 0x18005955f\nmovss   [rsp+78h+var_58], xmm0; GLclampf                               ; +0x102, 0x180059562\nxorps   xmm1, xmm1; float                                              ; +0x108, 0x180059568\nmov     rcx, r14; this                                                 ; +0x10b, 0x18005956b\ncall    ?clear@CCRenderTexture@cocos2d@@QEAAXMMMM@Z; cocos2d::CCRenderTexture::clear(float,float,float,float) ; +0x10e, 0x18005956e\nmov     rcx, r14; this                                                 ; +0x113, 0x180059573\ncall    ?begin@CCRenderTexture@cocos2d@@QEAAXXZ; cocos2d::CCRenderTexture::begin(void) ; +0x116, 0x180059576\nmov     rcx, [rsi+168h]                                                ; +0x11b, 0x18005957b\nmov     rax, [rcx]                                                     ; +0x122, 0x180059582\ncall    qword ptr [rax+2E8h]                                           ; +0x125, 0x180059585\nmov     rcx, r14; this                                                 ; +0x12b, 0x18005958b\ncall    ?end@CCRenderTexture@cocos2d@@QEAAXXZ; cocos2d::CCRenderTexture::end(void) ; +0x12e, 0x18005958e\nmov     rax, [rsi+150h]                                                ; +0x133, 0x180059593\ncmp     [rsi+168h], rax                                                ; +0x13a, 0x18005959a\njnz     short loc_1800595AB                                            ; +0x141, 0x1800595a1\nmov     rcx, rsi; this                                                 ; +0x143, 0x1800595a3\ncall    ?hideOutShowIn@CCTransitionScene@cocos2d@@QEAAXXZ; cocos2d::CCTransitionScene::hideOutShowIn(void) ; +0x146, 0x1800595a6\nmov     rax, [rsi]                                                     ; +0x14b, 0x1800595ab\nmov     rdx, r14                                                       ; +0x14e, 0x1800595ae\nmov     rcx, rsi                                                       ; +0x151, 0x1800595b1\ncall    qword ptr [rax+388h]                                           ; +0x154, 0x1800595b4\nmovss   xmm6, dword ptr [rsi+160h]                                     ; +0x15a, 0x1800595ba\nlea     rdx, ?finish@CCTransitionScene@cocos2d@@QEAAXXZ; cocos2d::CCTransitionScene::finish(void) ; +0x162, 0x1800595c2\nmovss   xmm7, dword ptr [rsi+164h]                                     ; +0x169, 0x1800595c9\nmov     rcx, rsi; this                                                 ; +0x171, 0x1800595d1\nmovss   xmm8, dword ptr [rsi+158h]                                     ; +0x174, 0x1800595d4\nmov     rdi, rax                                                       ; +0x17d, 0x1800595dd\ncall    ?create@CCCallFunc@cocos2d@@SAPEAV12@PEAVCCObject@2@P832@EAAXXZ@Z; cocos2d::CCCallFunc::create(cocos2d::CCObject *,void (cocos2d::CCObject::*)(void)) ; +0x180, 0x1800595e0\nmovaps  xmm2, xmm6; float                                              ; +0x185, 0x1800595e5\nmovaps  xmm1, xmm7; float                                              ; +0x188, 0x1800595e8\nmovaps  xmm0, xmm8; float                                              ; +0x18b, 0x1800595eb\nmov     rbx, rax                                                       ; +0x18f, 0x1800595ef\ncall    ?create@CCProgressFromTo@cocos2d@@SAPEAV12@MMM@Z; cocos2d::CCProgressFromTo::create(float,float,float) ; +0x192, 0x1800595f2\nmov     rcx, rax; this                                                 ; +0x197, 0x1800595f7\nxor     r8d, r8d                                                       ; +0x19a, 0x1800595fa\nmov     rdx, rbx                                                       ; +0x19d, 0x1800595fd\ncall    ?create@CCSequence@cocos2d@@SAPEAV12@PEAVCCFiniteTimeAction@2@ZZ; cocos2d::CCSequence::create(cocos2d::CCFiniteTimeAction *,...) ; +0x1a0, 0x180059600\nmov     rdx, rax; struct cocos2d::CCAction *                           ; +0x1a5, 0x180059605\nmov     rcx, rdi; this                                                 ; +0x1a8, 0x180059608\ncall    ?runAction@CCNode@cocos2d@@QEAAPEAVCCAction@2@PEAV32@@Z; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0x1ab, 0x18005960b\nmov     rax, [rsi]                                                     ; +0x1b0, 0x180059610\nmov     r9d, 0C001h                                                    ; +0x1b3, 0x180059613\nmov     r8d, 2                                                         ; +0x1b9, 0x180059619\nmov     rdx, rdi                                                       ; +0x1bf, 0x18005961f\nmov     rcx, rsi                                                       ; +0x1c2, 0x180059622\ncall    qword ptr [rax+1C0h]                                           ; +0x1c5, 0x180059625\nmov     rbx, [rsp+78h+arg_10]                                          ; +0x1cb, 0x18005962b\nmovaps  xmm6, [rsp+78h+var_28]                                         ; +0x1d3, 0x180059633\nmovaps  xmm7, [rsp+78h+var_38]                                         ; +0x1d8, 0x180059638\nmovaps  xmm8, [rsp+78h+var_48]                                         ; +0x1dd, 0x18005963d\nadd     rsp, 60h                                                       ; +0x1e3, 0x180059643\npop     r14                                                            ; +0x1e7, 0x180059647\npop     rdi                                                            ; +0x1e9, 0x180059649\npop     rsi                                                            ; +0x1ea, 0x18005964a\nretn                                                                   ; +0x1eb, 0x18005964b", "xrefs": ["<???> @ 0x1800fba88", "<???> @ 0x1800fbe28", "<???> @ 0x1800fc1c8", "<???> @ 0x1800fc568", "<???> @ 0x1800fc908", "<???> @ 0x1800fcca8", "<???> @ 0x1800fd048", "<???> @ 0x18014cf68", "<???> @ 0x1801bcc28"], "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"}