{"type": "func", "start": 8629656, "end": 8629876, "name": "CustomSongLayer::show", "pseudocode": "// \n// CustomSongLayer::show from 0x83ad98 to 0x83ae74 (220 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x38e38\n// > <???> @ 0x118a878\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 CustomSongLayer::show(CustomSongLayer *a1)\n{\n  unsigned __int8 v2; // w20\n  cocos2d::CCScaleTo *v3; // x0\n  cocos2d::CCEaseElasticOut *v4; // x0\n  cocos2d::CCActionInterval *v5; // x1\n  cocos2d::CCAction *v6; // x0\n  cocos2d::CCScene *m_pRunningScene; // x0\n  cocos2d::CCNode *m_scene; // x1\n  cocos2d::CCFadeTo *v9; // x0\n\n  v2 = a1->getOpacity(a1);\n  v3 = (cocos2d::CCScaleTo *)((__int64 (__fastcall *)(cocos2d::CCLayer *, float))a1->m_mainLayer->setScale)(\n                               a1->m_mainLayer,\n                               0.1);\n  v4 = (cocos2d::CCEaseElasticOut *)cocos2d::CCScaleTo::create(v3, 0.3, 1.0);\n  v6 = (cocos2d::CCAction *)cocos2d::CCEaseElasticOut::create(v4, v5, 1.6);\n  cocos2d::CCNode::runAction(a1->m_mainLayer, v6);\n  m_pRunningScene = cocos2d::CCDirector::sharedDirector()->m_pRunningScene;\n  m_scene = a1->m_scene;\n  if ( !m_scene )\n    m_scene = m_pRunningScene;\n  if ( !a1->m_ZOrder )\n    a1->m_ZOrder = 105;\n  ((void (__fastcall *)(cocos2d::CCNode *, CustomSongLayer *))m_scene->addChild_0)(m_scene, a1);\n  a1->setOpacity(a1, 0);\n  v9 = cocos2d::CCFadeTo::create(0.14, v2);\n  cocos2d::CCNode::runAction(a1, v9);\n  a1->setVisible(a1, 1);\n}", "assembly": "; \n; CustomSongLayer::show from 0x83ad98 to 0x83ae74 (220 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x38e38\n; > <???> @ 0x118a878\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\nSTP             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0x83ad98\nMOV             X29, SP                                                ; +0x4, 0x83ad9c\nLDR             X1, [X0]                                               ; +0x8, 0x83ada0\nSTP             X19, X20, [SP,#var_s10]                                ; +0xc, 0x83ada4\nMOV             X19, X0                                                ; +0x10, 0x83ada8\nLDR             X1, [X1,#0x470]                                        ; +0x14, 0x83adac\nBLR             X1                                                     ; +0x18, 0x83adb0\nMOV             W20, W0                                                ; +0x1c, 0x83adb4\nLDR             X1, [X19,#0x240]                                       ; +0x20, 0x83adb8\nLDR             S0, =0x3DCCCCCD                                        ; +0x24, 0x83adbc\nMOV             X0, X1                                                 ; +0x28, 0x83adc0\nLDR             X1, [X1]                                               ; +0x2c, 0x83adc4\nLDR             X1, [X1,#0xA0]                                         ; +0x30, 0x83adc8\nBLR             X1                                                     ; +0x34, 0x83adcc\nLDR             S0, flt_83AE78; float                                  ; +0x38, 0x83add0\nFMOV            S1, #1.0; float                                        ; +0x3c, 0x83add4\nBL              _ZN7cocos2d9CCScaleTo6createEff; cocos2d::CCScaleTo::create(float,float) ; +0x40, 0x83add8\nLDR             S0, flt_83AE7C; float                                  ; +0x44, 0x83addc\nBL              _ZN7cocos2d16CCEaseElasticOut6createEPNS_16CCActionIntervalEf; cocos2d::CCEaseElasticOut::create(cocos2d::CCActionInterval *,float) ; +0x48, 0x83ade0\nMOV             X1, X0; cocos2d::CCAction *                            ; +0x4c, 0x83ade4\nLDR             X0, [X19,#0x240]; this                                 ; +0x50, 0x83ade8\nBL              _ZN7cocos2d6CCNode9runActionEPNS_8CCActionE; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0x54, 0x83adec\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x58, 0x83adf0\nLDR             X0, [X0,#0x108]                                        ; +0x5c, 0x83adf4\nLDR             X1, [X19,#0x230]                                       ; +0x60, 0x83adf8\nLDR             W2, [X19,#0x248]                                       ; +0x64, 0x83adfc\nCMP             X1, XZR                                                ; +0x68, 0x83ae00\nCSEL            X1, X1, X0, NE                                         ; +0x6c, 0x83ae04\nCBNZ            W2, loc_83AE14                                         ; +0x70, 0x83ae08\nMOV             W2, #0x69 ; 'i'                                        ; +0x74, 0x83ae0c\nSTR             W2, [X19,#0x248]                                       ; +0x78, 0x83ae10\nLDR             X3, [X1]                                               ; +0x7c, 0x83ae14\nMOV             X0, X1                                                 ; +0x80, 0x83ae18\nMOV             X1, X19                                                ; +0x84, 0x83ae1c\nLDR             X3, [X3,#0x1C0]                                        ; +0x88, 0x83ae20\nBLR             X3                                                     ; +0x8c, 0x83ae24\nLDR             X2, [X19]                                              ; +0x90, 0x83ae28\nMOV             X0, X19                                                ; +0x94, 0x83ae2c\nMOV             W1, #0                                                 ; +0x98, 0x83ae30\nLDR             X2, [X2,#0x480]                                        ; +0x9c, 0x83ae34\nBLR             X2                                                     ; +0xa0, 0x83ae38\nLDR             S0, flt_83AE80; float                                  ; +0xa4, 0x83ae3c\nMOV             W0, W20; this                                          ; +0xa8, 0x83ae40\nBL              _ZN7cocos2d8CCFadeTo6createEfh; cocos2d::CCFadeTo::create(float,uchar) ; +0xac, 0x83ae44\nMOV             X1, X0; cocos2d::CCAction *                            ; +0xb0, 0x83ae48\nMOV             X0, X19; this                                          ; +0xb4, 0x83ae4c\nBL              _ZN7cocos2d6CCNode9runActionEPNS_8CCActionE; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0xb8, 0x83ae50\nLDR             X2, [X19]                                              ; +0xbc, 0x83ae54\nMOV             X0, X19                                                ; +0xc0, 0x83ae58\nMOV             W1, #1                                                 ; +0xc4, 0x83ae5c\nLDR             X2, [X2,#0x148]                                        ; +0xc8, 0x83ae60\nBLR             X2                                                     ; +0xcc, 0x83ae64\nLDP             X19, X20, [SP,#var_s10]                                ; +0xd0, 0x83ae68\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0xd4, 0x83ae6c\nRET                                                                    ; +0xd8, 0x83ae70", "xrefs": ["<???> @ 0x38e38", "<???> @ 0x118a878"], "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"}