{"type": "func", "start": 4296297768, "end": 4296297992, "name": "CustomSongLayer::show", "pseudocode": "// \n// CustomSongLayer::show from 0x100144d28 to 0x100144e08 (224 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100794e08\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 CustomSongLayer::show(CustomSongLayer *a1)\n{\n  unsigned __int8 v2; // w20\n  cocos2d::CCScaleTo *v3; // x0\n  cocos2d::CCEaseElasticOut *v4; // x0\n  cocos2d::CCScene *m_pRunningScene; // x8\n  cocos2d::CCNode *m_scene; // x9\n  cocos2d::CCScene *v7; // x0\n  cocos2d::CCFadeTo *v8; // x0\n\n  v2 = ((__int64 (__fastcall *)(CustomSongLayer *))a1->getOpacity)(a1);\n  ((void (__fastcall *)(cocos2d::CCLayer *, float))a1->m_mainLayer->setScale)(a1->m_mainLayer, 0.1);\n  v3 = cocos2d::CCScaleTo::create_1(0.3, 1.0);\n  v4 = cocos2d::CCEaseElasticOut::create(v3, 1.6);\n  cocos2d::CCNode::runAction(a1->m_mainLayer, v4);\n  m_pRunningScene = cocos2d::CCDirector::sharedDirector()->m_pRunningScene;\n  m_scene = a1->m_scene;\n  if ( !a1->m_ZOrder )\n    a1->m_ZOrder = 105;\n  if ( m_scene )\n    v7 = (cocos2d::CCScene *)m_scene;\n  else\n    v7 = m_pRunningScene;\n  ((void (__fastcall *)(cocos2d::CCScene *, CustomSongLayer *))v7->addChild_0)(v7, a1);\n  ((void (__fastcall *)(CustomSongLayer *, _QWORD))a1->setOpacity)(a1, 0);\n  v8 = cocos2d::CCFadeTo::create(0.14, v2);\n  cocos2d::CCNode::runAction(a1, v8);\n  ((void (__fastcall *)(CustomSongLayer *, __int64))a1->setVisible)(a1, 1);\n}", "assembly": "; \n; CustomSongLayer::show from 0x100144d28 to 0x100144e08 (224 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100794e08\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             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x100144d28\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100144d2c\nADD             X29, SP, #0x10                                         ; +0x8, 0x100144d30\nMOV             X19, X0                                                ; +0xc, 0x100144d34\nLDR             X8, [X0]                                               ; +0x10, 0x100144d38\nLDR             X8, [X8,#0x470]                                        ; +0x14, 0x100144d3c\nBLR             X8                                                     ; +0x18, 0x100144d40\nMOV             X20, X0                                                ; +0x1c, 0x100144d44\nLDR             X0, [X19,#0x240]                                       ; +0x20, 0x100144d48\nLDR             X8, [X0]                                               ; +0x24, 0x100144d4c\nLDR             X8, [X8,#0xA0]                                         ; +0x28, 0x100144d50\nADRP            X9, #dword_100635370@PAGE                              ; +0x2c, 0x100144d54\nLDR             S0, [X9,#dword_100635370@PAGEOFF]                      ; +0x30, 0x100144d58\nBLR             X8                                                     ; +0x34, 0x100144d5c\nADRP            X8, #dword_100635360@PAGE                              ; +0x38, 0x100144d60\nLDR             S0, [X8,#dword_100635360@PAGEOFF]                      ; +0x3c, 0x100144d64\nFMOV            S1, #1.0                                               ; +0x40, 0x100144d68\nBL              cocos2d__CCScaleTo__create_1                           ; +0x44, 0x100144d6c\nADRP            X8, #dword_100635354@PAGE                              ; +0x48, 0x100144d70\nLDR             S0, [X8,#dword_100635354@PAGEOFF]                      ; +0x4c, 0x100144d74\nBL              cocos2d__CCEaseElasticOut__create                      ; +0x50, 0x100144d78\nMOV             X1, X0                                                 ; +0x54, 0x100144d7c\nLDR             X0, [X19,#0x240]                                       ; +0x58, 0x100144d80\nBL              cocos2d__CCNode__runAction                             ; +0x5c, 0x100144d84\nBL              cocos2d__CCDirector__sharedDirector                    ; +0x60, 0x100144d88\nLDR             X8, [X0,#0x108]                                        ; +0x64, 0x100144d8c\nLDR             X9, [X19,#0x230]                                       ; +0x68, 0x100144d90\nLDR             W2, [X19,#0x248]                                       ; +0x6c, 0x100144d94\nCBNZ            W2, loc_100144DA4                                      ; +0x70, 0x100144d98\nMOV             W2, #0x69 ; 'i'                                        ; +0x74, 0x100144d9c\nSTR             W2, [X19,#0x248]                                       ; +0x78, 0x100144da0\nCMP             X9, #0                                                 ; +0x7c, 0x100144da4\nCSEL            X0, X8, X9, EQ                                         ; +0x80, 0x100144da8\nLDR             X8, [X0]                                               ; +0x84, 0x100144dac\nLDR             X8, [X8,#0x1C0]                                        ; +0x88, 0x100144db0\nMOV             X1, X19                                                ; +0x8c, 0x100144db4\nBLR             X8                                                     ; +0x90, 0x100144db8\nLDR             X8, [X19]                                              ; +0x94, 0x100144dbc\nLDR             X8, [X8,#0x480]                                        ; +0x98, 0x100144dc0\nMOV             X0, X19                                                ; +0x9c, 0x100144dc4\nMOV             W1, #0                                                 ; +0xa0, 0x100144dc8\nBLR             X8                                                     ; +0xa4, 0x100144dcc\nADRP            X8, #dword_100635384@PAGE                              ; +0xa8, 0x100144dd0\nLDR             S0, [X8,#dword_100635384@PAGEOFF]                      ; +0xac, 0x100144dd4\nMOV             X0, X20                                                ; +0xb0, 0x100144dd8\nBL              cocos2d__CCFadeTo__create                              ; +0xb4, 0x100144ddc\nMOV             X1, X0                                                 ; +0xb8, 0x100144de0\nMOV             X0, X19                                                ; +0xbc, 0x100144de4\nBL              cocos2d__CCNode__runAction                             ; +0xc0, 0x100144de8\nLDR             X8, [X19]                                              ; +0xc4, 0x100144dec\nLDR             X2, [X8,#0x148]                                        ; +0xc8, 0x100144df0\nMOV             X0, X19                                                ; +0xcc, 0x100144df4\nMOV             W1, #1                                                 ; +0xd0, 0x100144df8\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0xd4, 0x100144dfc\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0xd8, 0x100144e00\nBR              X2                                                     ; +0xdc, 0x100144e04", "xrefs": ["<???> @ 0x100794e08"], "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"}