{"type": "func", "start": 6442808704, "end": 6442809133, "name": "cocos2d::CCTransitionProgress::onEnter", "pseudocode": "// \n// cocos2d::CCTransitionProgress::onEnter from 0x180057580 to 0x18005772d (429 bytes)\n// \n// 9 xrefs:\n// > <???> @ 0x1800f56a8\n// > <???> @ 0x1800f5a38\n// > <???> @ 0x1800f5dc8\n// > <???> @ 0x1800f6158\n// > <???> @ 0x1800f64e8\n// > <???> @ 0x1800f6878\n// > <???> @ 0x1800f6c08\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b2994\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::CCTransitionProgress::onEnter(cocos2d::CCTransitionProgress *this)\n{\n  cocos2d::CCDirector *v2; // rax\n  cocos2d::CCRenderTexture *v3; // r14\n  __int64 *v4; // rbx\n  __int64 v5; // rdi\n  float *v6; // rax\n  cocos2d::CCRenderTexture_vtbl *v7; // rbx\n  float *v8; // rax\n  cocos2d::CCRenderTexture_vtbl *v9; // rbx\n  float *v10; // rax\n  __int64 v11; // rdx\n  cocos2d::CCNode *v12; // rdi\n  cocos2d::CCAction *v13; // rbx\n  struct cocos2d::CCProgressFromTo *v14; // rax\n  struct cocos2d::CCSequence *v15; // rax\n  float v16; // [rsp+60h] [rbp+8h]\n  float v17; // [rsp+64h] [rbp+Ch]\n  float v18; // [rsp+68h] [rbp+10h] BYREF\n\n  cocos2d::CCTransitionScene::onEnter(this);\n  ((void (__fastcall *)(cocos2d::CCTransitionProgress *))this->setupTransition)(this);\n  v2 = cocos2d::CCDirector::sharedDirector();\n  cocos2d::CCDirector::getWinSize(v2);\n  v3 = cocos2d::CCRenderTexture::create((int)v16, (int)v17);\n  v4 = (__int64 *)((__int64 (__fastcall *)(cocos2d::CCRenderTexture *))v3->getSprite)(v3);\n  v5 = *v4;\n  v6 = kmVec2Fill(&v18, 0.5, 0.5);\n  (*(void (__fastcall **)(__int64 *, float *))(v5 + 272))(v4, v6);\n  v7 = v3->__vftable;\n  v8 = kmVec2Fill(&v18, v16 * 0.5, v17 * 0.5);\n  ((void (__fastcall *)(cocos2d::CCRenderTexture *, float *))v7->setPosition_0)(v3, v8);\n  v9 = v3->__vftable;\n  v10 = kmVec2Fill(&v18, 0.5, 0.5);\n  ((void (__fastcall *)(cocos2d::CCRenderTexture *, float *))v9->setAnchorPoint)(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) + 728LL))(*((_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::CCNode *)((__int64 (__fastcall *)(cocos2d::CCTransitionProgress *, cocos2d::CCRenderTexture *))this->progressTimerNodeWithRenderTexture)(\n                             this,\n                             v3);\n  v13 = cocos2d::CCCallFunc::create(this, (__int64)cocos2d::CCTransitionScene::finish);\n  v14 = cocos2d::CCProgressFromTo::create(*((float *)this + 86), *((float *)this + 89), *((float *)this + 88));\n  v15 = cocos2d::CCSequence::create(v14, v13, 0);\n  cocos2d::CCNode::runAction(v12, v15);\n  ((void (__fastcall *)(cocos2d::CCTransitionProgress *, cocos2d::CCNode *, __int64, __int64))this->addChild)(\n    this,\n    v12,\n    2,\n    49153);\n}", "assembly": "; \n; cocos2d::CCTransitionProgress::onEnter from 0x180057580 to 0x18005772d (429 bytes)\n; \n; 9 xrefs:\n; > <???> @ 0x1800f56a8\n; > <???> @ 0x1800f5a38\n; > <???> @ 0x1800f5dc8\n; > <???> @ 0x1800f6158\n; > <???> @ 0x1800f64e8\n; > <???> @ 0x1800f6878\n; > <???> @ 0x1800f6c08\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b2994\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_10], rbx                                              ; +0x0, 0x180057580\npush    rsi                                                            ; +0x5, 0x180057585\npush    rdi                                                            ; +0x6, 0x180057586\npush    r14                                                            ; +0x7, 0x180057587\nsub     rsp, 40h                                                       ; +0x9, 0x180057589\nmovaps  [rsp+58h+var_28], xmm6                                         ; +0xd, 0x18005758d\nmov     rsi, rcx                                                       ; +0x12, 0x180057592\ncall    ?onEnter@CCTransitionScene@cocos2d@@UEAAXXZ; cocos2d::CCTransitionScene::onEnter(void) ; +0x15, 0x180057595\nmov     rax, [rsi]                                                     ; +0x1a, 0x18005759a\nmov     rcx, rsi                                                       ; +0x1d, 0x18005759d\ncall    qword ptr [rax+380h]                                           ; +0x20, 0x1800575a0\ncall    ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x26, 0x1800575a6\nmov     rcx, rax                                                       ; +0x2b, 0x1800575ab\nlea     rdx, [rsp+58h+arg_0]                                           ; +0x2e, 0x1800575ae\ncall    ?getWinSize@CCDirector@cocos2d@@QEAA?AVCCSize@2@XZ; cocos2d::CCDirector::getWinSize(void) ; +0x33, 0x1800575b3\ncvttss2si edx, [rsp+58h+arg_4]; int                                    ; +0x38, 0x1800575b8\ncvttss2si ecx, [rsp+58h+arg_0]; int                                    ; +0x3e, 0x1800575be\ncall    ?create@CCRenderTexture@cocos2d@@SAPEAV12@HH@Z; cocos2d::CCRenderTexture::create(int,int) ; +0x44, 0x1800575c4\nmov     rcx, rax                                                       ; +0x49, 0x1800575c9\nmov     r14, rax                                                       ; +0x4c, 0x1800575cc\nmov     rdx, [rax]                                                     ; +0x4f, 0x1800575cf\ncall    qword ptr [rdx+368h]                                           ; +0x52, 0x1800575d2\nmovss   xmm6, cs:dword_1800E6308                                       ; +0x58, 0x1800575d8\nlea     rcx, [rsp+58h+arg_8]                                           ; +0x60, 0x1800575e0\nmovaps  xmm2, xmm6                                                     ; +0x65, 0x1800575e5\nmovaps  xmm1, xmm6                                                     ; +0x68, 0x1800575e8\nmov     rbx, rax                                                       ; +0x6b, 0x1800575eb\nmov     rdi, [rax]                                                     ; +0x6e, 0x1800575ee\ncall    kmVec2Fill                                                     ; +0x71, 0x1800575f1\nmov     rdx, rax                                                       ; +0x76, 0x1800575f6\nmov     rcx, rbx                                                       ; +0x79, 0x1800575f9\ncall    qword ptr [rdi+110h]                                           ; +0x7c, 0x1800575fc\nmovss   xmm2, [rsp+58h+arg_4]                                          ; +0x82, 0x180057602\nlea     rcx, [rsp+58h+arg_8]                                           ; +0x88, 0x180057608\nmovss   xmm1, [rsp+58h+arg_0]                                          ; +0x8d, 0x18005760d\nmov     rbx, [r14]                                                     ; +0x93, 0x180057613\nmulss   xmm2, xmm6                                                     ; +0x96, 0x180057616\nmulss   xmm1, xmm6                                                     ; +0x9a, 0x18005761a\ncall    kmVec2Fill                                                     ; +0x9e, 0x18005761e\nmov     rdx, rax                                                       ; +0xa3, 0x180057623\nmov     rcx, r14                                                       ; +0xa6, 0x180057626\ncall    qword ptr [rbx+0B8h]                                           ; +0xa9, 0x180057629\nmov     rbx, [r14]                                                     ; +0xaf, 0x18005762f\nlea     rcx, [rsp+58h+arg_8]                                           ; +0xb2, 0x180057632\nmovaps  xmm2, xmm6                                                     ; +0xb7, 0x180057637\nmovaps  xmm1, xmm6                                                     ; +0xba, 0x18005763a\ncall    kmVec2Fill                                                     ; +0xbd, 0x18005763d\nmov     rdx, rax                                                       ; +0xc2, 0x180057642\nmov     rcx, r14                                                       ; +0xc5, 0x180057645\ncall    qword ptr [rbx+110h]                                           ; +0xc8, 0x180057648\nmovss   xmm0, cs:flt_1800E61A8                                         ; +0xce, 0x18005764e\nxorps   xmm3, xmm3; float                                              ; +0xd6, 0x180057656\nxorps   xmm2, xmm2; float                                              ; +0xd9, 0x180057659\nmovss   [rsp+58h+var_38], xmm0; GLclampf                               ; +0xdc, 0x18005765c\nxorps   xmm1, xmm1; float                                              ; +0xe2, 0x180057662\nmov     rcx, r14; this                                                 ; +0xe5, 0x180057665\ncall    ?clear@CCRenderTexture@cocos2d@@QEAAXMMMM@Z; cocos2d::CCRenderTexture::clear(float,float,float,float) ; +0xe8, 0x180057668\nmov     rcx, r14; this                                                 ; +0xed, 0x18005766d\ncall    ?begin@CCRenderTexture@cocos2d@@QEAAXXZ; cocos2d::CCRenderTexture::begin(void) ; +0xf0, 0x180057670\nmov     rcx, [rsi+168h]                                                ; +0xf5, 0x180057675\nmov     rax, [rcx]                                                     ; +0xfc, 0x18005767c\ncall    qword ptr [rax+2D8h]                                           ; +0xff, 0x18005767f\nmov     rcx, r14; this                                                 ; +0x105, 0x180057685\ncall    ?end@CCRenderTexture@cocos2d@@QEAAXXZ; cocos2d::CCRenderTexture::end(void) ; +0x108, 0x180057688\nmov     rax, [rsi+150h]                                                ; +0x10d, 0x18005768d\ncmp     [rsi+168h], rax                                                ; +0x114, 0x180057694\njnz     short loc_1800576A5                                            ; +0x11b, 0x18005769b\nmov     rcx, rsi; this                                                 ; +0x11d, 0x18005769d\ncall    ?hideOutShowIn@CCTransitionScene@cocos2d@@QEAAXXZ; cocos2d::CCTransitionScene::hideOutShowIn(void) ; +0x120, 0x1800576a0\nmov     rax, [rsi]                                                     ; +0x125, 0x1800576a5\nmov     rdx, r14                                                       ; +0x128, 0x1800576a8\nmov     rcx, rsi                                                       ; +0x12b, 0x1800576ab\ncall    qword ptr [rax+378h]                                           ; +0x12e, 0x1800576ae\nlea     rdx, ?finish@CCTransitionScene@cocos2d@@QEAAXXZ; cocos2d::CCTransitionScene::finish(void) ; +0x134, 0x1800576b4\nmov     rcx, rsi; this                                                 ; +0x13b, 0x1800576bb\nmov     rdi, rax                                                       ; +0x13e, 0x1800576be\ncall    ?create@CCCallFunc@cocos2d@@SAPEAV12@PEAVCCObject@2@P832@EAAXXZ@Z; cocos2d::CCCallFunc::create(cocos2d::CCObject *,void (cocos2d::CCObject::*)(void)) ; +0x141, 0x1800576c1\nmovss   xmm2, dword ptr [rsi+160h]; float                              ; +0x146, 0x1800576c6\nmov     rbx, rax                                                       ; +0x14e, 0x1800576ce\nmovss   xmm1, dword ptr [rsi+164h]; float                              ; +0x151, 0x1800576d1\nmovss   xmm0, dword ptr [rsi+158h]; float                              ; +0x159, 0x1800576d9\ncall    ?create@CCProgressFromTo@cocos2d@@SAPEAV12@MMM@Z; cocos2d::CCProgressFromTo::create(float,float,float) ; +0x161, 0x1800576e1\nmov     rcx, rax; this                                                 ; +0x166, 0x1800576e6\nxor     r8d, r8d                                                       ; +0x169, 0x1800576e9\nmov     rdx, rbx                                                       ; +0x16c, 0x1800576ec\ncall    ?create@CCSequence@cocos2d@@SAPEAV12@PEAVCCFiniteTimeAction@2@ZZ; cocos2d::CCSequence::create(cocos2d::CCFiniteTimeAction *,...) ; +0x16f, 0x1800576ef\nmov     rdx, rax; struct cocos2d::CCAction *                           ; +0x174, 0x1800576f4\nmov     rcx, rdi; this                                                 ; +0x177, 0x1800576f7\ncall    ?runAction@CCNode@cocos2d@@QEAAPEAVCCAction@2@PEAV32@@Z; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0x17a, 0x1800576fa\nmov     rax, [rsi]                                                     ; +0x17f, 0x1800576ff\nmov     r9d, 0C001h                                                    ; +0x182, 0x180057702\nmov     r8d, 2                                                         ; +0x188, 0x180057708\nmov     rdx, rdi                                                       ; +0x18e, 0x18005770e\nmov     rcx, rsi                                                       ; +0x191, 0x180057711\ncall    qword ptr [rax+1B0h]                                           ; +0x194, 0x180057714\nmov     rbx, [rsp+58h+arg_10]                                          ; +0x19a, 0x18005771a\nmovaps  xmm6, [rsp+58h+var_28]                                         ; +0x19f, 0x18005771f\nadd     rsp, 40h                                                       ; +0x1a4, 0x180057724\npop     r14                                                            ; +0x1a8, 0x180057728\npop     rdi                                                            ; +0x1aa, 0x18005772a\npop     rsi                                                            ; +0x1ab, 0x18005772b\nretn                                                                   ; +0x1ac, 0x18005772c", "xrefs": ["<???> @ 0x1800f56a8", "<???> @ 0x1800f5a38", "<???> @ 0x1800f5dc8", "<???> @ 0x1800f6158", "<???> @ 0x1800f64e8", "<???> @ 0x1800f6878", "<???> @ 0x1800f6c08", "<???> @ 0x1801438a8", "<???> @ 0x1801b2994"], "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"}