{"type": "func", "start": 5372689408, "end": 5372689694, "name": "RetryLevelLayer::showLayer", "pseudocode": "// \n// RetryLevelLayer::showLayer from 0x1403cbc00 to 0x1403cbd1e (286 bytes)\n// \n// 4 xrefs:\n// > PlayLayer::showRetryLayer @ 0x1403aca8b\n// > PlayLayer::showRetryLayer @ 0x1403aca70\n// > <???> @ 0x1405cd298\n// > <???> @ 0x1406d7b44\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 RetryLevelLayer::showLayer(RetryLevelLayer *a1, bool a2)\n{\n  float v2; // xmm3_4\n  cocos2d::CCLayer *m_mainLayer; // rcx\n  cocos2d::CCLayer_vtbl *v6; // rax\n  __int64 v7; // rdx\n  struct cocos2d::CCScaleTo *v8; // rax\n  struct cocos2d::CCEaseElasticOut *v9; // rbx\n  __int64 v10; // rax\n  struct cocos2d::CCSequence *v11; // rax\n  cocos2d::ccColor3B *v12; // r8\n  struct cocos2d::CCFadeTo *v13; // rax\n  cocos2d::ccColor3B *v14; // r8\n  float v15; // [rsp+20h] [rbp-8h]\n  float v16; // [rsp+50h] [rbp+28h]\n\n  cocos2d::CCNode::stopAllActions(a1->m_mainLayer);\n  a1->layerVisible(a1);\n  m_mainLayer = a1->m_mainLayer;\n  v6 = m_mainLayer->cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n  if ( a2 )\n  {\n    v6->setPosition_0(m_mainLayer, &a1->m_endPosition);\n    LOBYTE(v7) = 100;\n    a1->setOpacity(&a1->cocos2d::CCRGBAProtocol, v7);\n    a1->enterAnimFinished(a1);\n  }\n  else\n  {\n    ((void (*)(void))v6->setScale_0)();\n    v8 = cocos2d::CCScaleTo::create(0.5, 1.0);\n    v9 = cocos2d::CCEaseElasticOut::create(v8, 0.60000002);\n    v10 = cocos2d::CCCallFunc::create(a1, sub_1401377B4);\n    v11 = cocos2d::CCSequence::create(v9, v10, 0);\n    cocos2d::CCNode::runAction((CCLightFlash *)a1->m_mainLayer, (cocos2d::CCPoint)v11, v12, v2, v15);\n    a1->setOpacity(&a1->cocos2d::CCRGBAProtocol, 0);\n    v13 = cocos2d::CCFadeTo::create(0.5, 0x64u);\n    cocos2d::CCNode::runAction((CCLightFlash *)a1, (cocos2d::CCPoint)v13, v14, v2, v16);\n  }\n}", "assembly": "; \n; RetryLevelLayer::showLayer from 0x1403cbc00 to 0x1403cbd1e (286 bytes)\n; \n; 4 xrefs:\n; > PlayLayer::showRetryLayer @ 0x1403aca8b\n; > PlayLayer::showRetryLayer @ 0x1403aca70\n; > <???> @ 0x1405cd298\n; > <???> @ 0x1406d7b44\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_0], rbx                                               ; +0x0, 0x1403cbc00\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x1403cbc05\npush    rdi                                                            ; +0xa, 0x1403cbc0a\nsub     rsp, 20h                                                       ; +0xb, 0x1403cbc0b\nmov     rdi, rcx                                                       ; +0xf, 0x1403cbc0f\nmovzx   ebx, dl                                                        ; +0x12, 0x1403cbc12\nmov     rcx, [rcx+240h]                                                ; +0x15, 0x1403cbc15\ncall    cs:?stopAllActions@CCNode@cocos2d@@QEAAXXZ; cocos2d::CCNode::stopAllActions(void) ; +0x1c, 0x1403cbc1c\nmov     rax, [rdi]                                                     ; +0x22, 0x1403cbc22\nmov     rcx, rdi                                                       ; +0x25, 0x1403cbc25\ncall    qword ptr [rax+438h]                                           ; +0x28, 0x1403cbc28\nmov     rcx, [rdi+240h]                                                ; +0x2e, 0x1403cbc2e\nmov     rax, [rcx]                                                     ; +0x35, 0x1403cbc35\ntest    bl, bl                                                         ; +0x38, 0x1403cbc38\njz      short loc_1403CBC78                                            ; +0x3a, 0x1403cbc3a\nlea     rdx, [rdi+220h]                                                ; +0x3c, 0x1403cbc3c\ncall    qword ptr [rax+0B8h]                                           ; +0x43, 0x1403cbc43\nmov     rax, [rdi+198h]                                                ; +0x49, 0x1403cbc49\nlea     rcx, [rdi+198h]                                                ; +0x50, 0x1403cbc50\nmov     dl, 64h ; 'd'                                                  ; +0x57, 0x1403cbc57\ncall    qword ptr [rax+28h]                                            ; +0x59, 0x1403cbc59\nmov     rax, [rdi]                                                     ; +0x5c, 0x1403cbc5c\nmov     rcx, rdi                                                       ; +0x5f, 0x1403cbc5f\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x62, 0x1403cbc62\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x67, 0x1403cbc67\nadd     rsp, 20h                                                       ; +0x6c, 0x1403cbc6c\npop     rdi                                                            ; +0x70, 0x1403cbc70\njmp     qword ptr [rax+448h]                                           ; +0x71, 0x1403cbc71\nmovss   xmm1, cs:dword_140622A10                                       ; +0x78, 0x1403cbc78\ncall    qword ptr [rax+0A0h]                                           ; +0x80, 0x1403cbc80\nmovss   xmm1, cs:flt_140622C24                                         ; +0x86, 0x1403cbc86\nmovss   xmm0, cs:dword_140622B08                                       ; +0x8e, 0x1403cbc8e\ncall    cs:?create@CCScaleTo@cocos2d@@SAPEAV12@MM@Z; cocos2d::CCScaleTo::create(float,float) ; +0x96, 0x1403cbc96\nmovss   xmm1, cs:dword_140622B38                                       ; +0x9c, 0x1403cbc9c\nmov     rcx, rax                                                       ; +0xa4, 0x1403cbca4\ncall    cs:?create@CCEaseElasticOut@cocos2d@@SAPEAV12@PEAVCCActionInterval@2@M@Z; cocos2d::CCEaseElasticOut::create(cocos2d::CCActionInterval *,float) ; +0xa7, 0x1403cbca7\nlea     rdx, sub_1401377B4                                             ; +0xad, 0x1403cbcad\nmov     rcx, rdi                                                       ; +0xb4, 0x1403cbcb4\nmov     rbx, rax                                                       ; +0xb7, 0x1403cbcb7\ncall    cs:?create@CCCallFunc@cocos2d@@SAPEAV12@PEAVCCObject@2@P832@EAAXXZ@Z; cocos2d::CCCallFunc::create(cocos2d::CCObject *,void (cocos2d::CCObject::*)(void)) ; +0xba, 0x1403cbcba\nxor     r8d, r8d                                                       ; +0xc0, 0x1403cbcc0\nmov     rcx, rbx                                                       ; +0xc3, 0x1403cbcc3\nmov     rdx, rax                                                       ; +0xc6, 0x1403cbcc6\ncall    cs:?create@CCSequence@cocos2d@@SAPEAV12@PEAVCCFiniteTimeAction@2@ZZ; cocos2d::CCSequence::create(cocos2d::CCFiniteTimeAction *,...) ; +0xc9, 0x1403cbcc9\nmov     rcx, [rdi+240h]                                                ; +0xcf, 0x1403cbccf\nmov     rdx, rax                                                       ; +0xd6, 0x1403cbcd6\ncall    cs:?runAction@CCNode@cocos2d@@QEAAPEAVCCAction@2@PEAV32@@Z; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0xd9, 0x1403cbcd9\nmov     rax, [rdi+198h]                                                ; +0xdf, 0x1403cbcdf\nlea     rcx, [rdi+198h]                                                ; +0xe6, 0x1403cbce6\nxor     edx, edx                                                       ; +0xed, 0x1403cbced\ncall    qword ptr [rax+28h]                                            ; +0xef, 0x1403cbcef\nmovss   xmm0, cs:dword_140622B08                                       ; +0xf2, 0x1403cbcf2\nmov     dl, 64h ; 'd'                                                  ; +0xfa, 0x1403cbcfa\ncall    cs:?create@CCFadeTo@cocos2d@@SAPEAV12@ME@Z; cocos2d::CCFadeTo::create(float,uchar) ; +0xfc, 0x1403cbcfc\nmov     rdx, rax                                                       ; +0x102, 0x1403cbd02\nmov     rcx, rdi                                                       ; +0x105, 0x1403cbd05\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x108, 0x1403cbd08\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x10d, 0x1403cbd0d\nadd     rsp, 20h                                                       ; +0x112, 0x1403cbd12\npop     rdi                                                            ; +0x116, 0x1403cbd16\njmp     cs:?runAction@CCNode@cocos2d@@QEAAPEAVCCAction@2@PEAV32@@Z; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0x117, 0x1403cbd17", "xrefs": ["PlayLayer::showRetryLayer @ 0x1403aca8b", "PlayLayer::showRetryLayer @ 0x1403aca70", "<???> @ 0x1405cd298", "<???> @ 0x1406d7b44"], "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"}