{"type": "func", "start": 5371590304, "end": 5371590591, "name": "InfoLayer::show", "pseudocode": "// \n// InfoLayer::show from 0x1402bf6a0 to 0x1402bf7bf (287 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1405818b8\n// > <???> @ 0x1406d290c\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 InfoLayer::show(InfoLayer *a1)\n{\n  float v1; // xmm3_4\n  unsigned __int8 v3; // al\n  float v4; // xmm6_4\n  struct cocos2d::CCScaleTo *v5; // rax\n  struct cocos2d::CCEaseElasticOut *v6; // rax\n  cocos2d::ccColor3B *v7; // r8\n  __int64 v8; // rcx\n  cocos2d::CCNode *m_scene; // rcx\n  struct cocos2d::CCFadeTo *v10; // rax\n  cocos2d::ccColor3B *v11; // r8\n  _BOOL8 v12; // rdx\n  float v13; // [rsp+20h] [rbp-18h]\n  float v14; // [rsp+20h] [rbp-18h]\n\n  if ( a1->m_noElasticity )\n  {\n    FLAlertLayer::show(a1);\n  }\n  else\n  {\n    a1->getOpacity(&a1->cocos2d::CCRGBAProtocol);\n    v4 = (float)v3;\n    ((void (__fastcall *)(cocos2d::CCLayer *))a1->m_mainLayer->setScale_0)(a1->m_mainLayer);\n    v5 = cocos2d::CCScaleTo::create(0.30000001, 1.0);\n    v6 = cocos2d::CCEaseElasticOut::create(v5, 1.6);\n    cocos2d::CCNode::runAction((CCLightFlash *)a1->m_mainLayer, (cocos2d::CCPoint)v6, v7, v1, v13);\n    m_scene = *(cocos2d::CCNode **)(cocos2d::CCDirector::sharedDirector(v8) + 264);\n    if ( a1->m_scene )\n      m_scene = a1->m_scene;\n    if ( !a1->m_ZOrder )\n      a1->m_ZOrder = 105;\n    ((void (__fastcall *)(cocos2d::CCNode *, InfoLayer *))m_scene->addChild_0)(m_scene, a1);\n    a1->setOpacity(&a1->cocos2d::CCRGBAProtocol, 0);\n    v10 = cocos2d::CCFadeTo::create(0.14, (int)v4);\n    cocos2d::CCNode::runAction((CCLightFlash *)a1, (cocos2d::CCPoint)v10, v11, v1, v14);\n    LOBYTE(v12) = 1;\n    a1->setVisible(a1, v12);\n  }\n}", "assembly": "; \n; InfoLayer::show from 0x1402bf6a0 to 0x1402bf7bf (287 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1405818b8\n; > <???> @ 0x1406d290c\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\npush    rbx                                                            ; +0x0, 0x1402bf6a0\nsub     rsp, 30h                                                       ; +0x2, 0x1402bf6a2\ncmp     byte ptr [rcx+24Ch], 0                                         ; +0x6, 0x1402bf6a6\nmov     rbx, rcx                                                       ; +0xd, 0x1402bf6ad\njz      short loc_1402BF6BC                                            ; +0x10, 0x1402bf6b0\nadd     rsp, 30h                                                       ; +0x12, 0x1402bf6b2\npop     rbx                                                            ; +0x16, 0x1402bf6b6\njmp     FLAlertLayer__show                                             ; +0x17, 0x1402bf6b7\nmov     rax, [rcx+198h]                                                ; +0x1c, 0x1402bf6bc\nadd     rcx, 198h                                                      ; +0x23, 0x1402bf6c3\nmov     [rsp+38h+arg_0], rdi                                           ; +0x2a, 0x1402bf6ca\nmovaps  xmmword ptr [rsp+38h+var_18], xmm6                             ; +0x2f, 0x1402bf6cf\ncall    qword ptr [rax+20h]                                            ; +0x34, 0x1402bf6d4\nmov     rcx, [rbx+240h]                                                ; +0x37, 0x1402bf6d7\nmovss   xmm1, cs:dword_140622A10                                       ; +0x3e, 0x1402bf6de\nmovzx   eax, al                                                        ; +0x46, 0x1402bf6e6\nmovd    xmm6, eax                                                      ; +0x49, 0x1402bf6e9\nmov     rax, [rcx]                                                     ; +0x4d, 0x1402bf6ed\ncvtdq2ps xmm6, xmm6                                                    ; +0x50, 0x1402bf6f0\ncall    qword ptr [rax+0A0h]                                           ; +0x53, 0x1402bf6f3\nmovss   xmm1, cs:flt_140622C24                                         ; +0x59, 0x1402bf6f9\nmovss   xmm0, cs:dword_140622AA0                                       ; +0x61, 0x1402bf701\ncall    cs:?create@CCScaleTo@cocos2d@@SAPEAV12@MM@Z; cocos2d::CCScaleTo::create(float,float) ; +0x69, 0x1402bf709\nmovss   xmm1, cs:dword_140622D24                                       ; +0x6f, 0x1402bf70f\nmov     rcx, rax                                                       ; +0x77, 0x1402bf717\ncall    cs:?create@CCEaseElasticOut@cocos2d@@SAPEAV12@PEAVCCActionInterval@2@M@Z; cocos2d::CCEaseElasticOut::create(cocos2d::CCActionInterval *,float) ; +0x7a, 0x1402bf71a\nmov     rcx, [rbx+240h]                                                ; +0x80, 0x1402bf720\nmov     rdx, rax                                                       ; +0x87, 0x1402bf727\ncall    cs:?runAction@CCNode@cocos2d@@QEAAPEAVCCAction@2@PEAV32@@Z; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0x8a, 0x1402bf72a\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x90, 0x1402bf730\nmov     r8d, [rbx+248h]                                                ; +0x96, 0x1402bf736\nmov     rcx, [rax+108h]                                                ; +0x9d, 0x1402bf73d\nmov     rax, [rbx+230h]                                                ; +0xa4, 0x1402bf744\ntest    rax, rax                                                       ; +0xab, 0x1402bf74b\ncmovnz  rcx, rax                                                       ; +0xae, 0x1402bf74e\ntest    r8d, r8d                                                       ; +0xb2, 0x1402bf752\njnz     short loc_1402BF764                                            ; +0xb5, 0x1402bf755\nmov     r8d, 69h ; 'i'                                                 ; +0xb7, 0x1402bf757\nmov     [rbx+248h], r8d                                                ; +0xbd, 0x1402bf75d\nmov     rax, [rcx]                                                     ; +0xc4, 0x1402bf764\nmov     rdx, rbx                                                       ; +0xc7, 0x1402bf767\ncall    qword ptr [rax+1B8h]                                           ; +0xca, 0x1402bf76a\nmov     rax, [rbx+198h]                                                ; +0xd0, 0x1402bf770\nlea     rcx, [rbx+198h]                                                ; +0xd7, 0x1402bf777\nxor     edx, edx                                                       ; +0xde, 0x1402bf77e\ncall    qword ptr [rax+28h]                                            ; +0xe0, 0x1402bf780\nmovss   xmm0, cs:dword_140622A38                                       ; +0xe3, 0x1402bf783\ncvttss2si edx, xmm6                                                    ; +0xeb, 0x1402bf78b\ncall    cs:?create@CCFadeTo@cocos2d@@SAPEAV12@ME@Z; cocos2d::CCFadeTo::create(float,uchar) ; +0xef, 0x1402bf78f\nmov     rdx, rax                                                       ; +0xf5, 0x1402bf795\nmov     rcx, rbx                                                       ; +0xf8, 0x1402bf798\ncall    cs:?runAction@CCNode@cocos2d@@QEAAPEAVCCAction@2@PEAV32@@Z; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0xfb, 0x1402bf79b\nmov     rax, [rbx]                                                     ; +0x101, 0x1402bf7a1\nmov     dl, 1                                                          ; +0x104, 0x1402bf7a4\nmov     rcx, rbx                                                       ; +0x106, 0x1402bf7a6\nmovaps  xmm6, xmmword ptr [rsp+38h+var_18]                             ; +0x109, 0x1402bf7a9\nmov     rdi, [rsp+38h+arg_0]                                           ; +0x10e, 0x1402bf7ae\nadd     rsp, 30h                                                       ; +0x113, 0x1402bf7b3\npop     rbx                                                            ; +0x117, 0x1402bf7b7\njmp     qword ptr [rax+140h]                                           ; +0x118, 0x1402bf7b8", "xrefs": ["<???> @ 0x1405818b8", "<???> @ 0x1406d290c"], "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"}