{"type": "func", "start": 4296295956, "end": 4296296056, "name": "CustomSongLayer::onSongBrowser", "pseudocode": "// \n// CustomSongLayer::onSongBrowser from 0x100144614 to 0x100144678 (100 bytes)\n// \n// 1 xrefs:\n// > CustomSongLayer::init @ 0x100143cdc\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::onSongBrowser(CustomSongLayer *a1, cocos2d::CCObject *a2)\n{\n  GJSongBrowser *v3; // x20\n  cocos2d::CCScene *m_pRunningScene; // x19\n  int HighestChildZ; // w0\n\n  v3 = GJSongBrowser::create();\n  v3->m_delegate = &a1->GJDropDownLayerDelegate;\n  m_pRunningScene = cocos2d::CCDirector::sharedDirector()->m_pRunningScene;\n  HighestChildZ = cocos2d::CCScene::getHighestChildZ(m_pRunningScene);\n  ((void (__fastcall *)(cocos2d::CCScene *, GJSongBrowser *, _QWORD))m_pRunningScene->addChild_0)(\n    m_pRunningScene,\n    v3,\n    (unsigned int)(HighestChildZ + 1));\n  ((void (__fastcall *)(GJSongBrowser *, _QWORD))v3->showLayer)(v3, 0);\n}", "assembly": "; \n; CustomSongLayer::onSongBrowser from 0x100144614 to 0x100144678 (100 bytes)\n; \n; 1 xrefs:\n; > CustomSongLayer::init @ 0x100143cdc\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, 0x100144614\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100144618\nADD             X29, SP, #0x10                                         ; +0x8, 0x10014461c\nMOV             X19, X0                                                ; +0xc, 0x100144620\nBL              GJSongBrowser__create                                  ; +0x10, 0x100144624\nMOV             X20, X0                                                ; +0x14, 0x100144628\nADD             X8, X19, #0x280                                        ; +0x18, 0x10014462c\nSTR             X8, [X0,#0x250]                                        ; +0x1c, 0x100144630\nBL              cocos2d__CCDirector__sharedDirector                    ; +0x20, 0x100144634\nLDR             X19, [X0,#0x108]                                       ; +0x24, 0x100144638\nMOV             X0, X19                                                ; +0x28, 0x10014463c\nBL              cocos2d__CCScene__getHighestChildZ                     ; +0x2c, 0x100144640\nLDR             X8, [X19]                                              ; +0x30, 0x100144644\nLDR             X8, [X8,#0x1C0]                                        ; +0x34, 0x100144648\nADD             W2, W0, #1                                             ; +0x38, 0x10014464c\nMOV             X0, X19                                                ; +0x3c, 0x100144650\nMOV             X1, X20                                                ; +0x40, 0x100144654\nBLR             X8                                                     ; +0x44, 0x100144658\nLDR             X8, [X20]                                              ; +0x48, 0x10014465c\nLDR             X2, [X8,#0x520]                                        ; +0x4c, 0x100144660\nMOV             X0, X20                                                ; +0x50, 0x100144664\nMOV             W1, #0                                                 ; +0x54, 0x100144668\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x58, 0x10014466c\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x5c, 0x100144670\nBR              X2                                                     ; +0x60, 0x100144674", "xrefs": ["CustomSongLayer::init @ 0x100143cdc"], "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"}