{"type": "func", "start": 4579464, "end": 4579526, "name": "CustomSongLayer::onSongBrowser", "pseudocode": "// \n// CustomSongLayer::onSongBrowser from 0x45e088 to 0x45e0c6 (62 bytes)\n// \n// 0 xrefs:\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::onSongBrowser(CustomSongLayer *a1, cocos2d::CCObject *a2)\n{\n  GJSongBrowser *v3; // r0\n  GJSongBrowser *v4; // r4\n  cocos2d::CCScene *m_pRunningScene; // r5\n  void (__fastcall *addChild_0)(cocos2d::CCNode *__hidden, cocos2d::CCNode *, int); // r6\n  int HighestChildZ; // r0\n\n  v3 = GJSongBrowser::create();\n  v3->m_delegate = &a1->GJDropDownLayerDelegate;\n  v4 = v3;\n  m_pRunningScene = cocos2d::CCDirector::sharedDirector()->m_pRunningScene;\n  addChild_0 = m_pRunningScene->addChild_0;\n  HighestChildZ = cocos2d::CCScene::getHighestChildZ(m_pRunningScene);\n  addChild_0(m_pRunningScene, v4, HighestChildZ + 1);\n  v4->showLayer(v4, 0);\n}", "assembly": "; \n; CustomSongLayer::onSongBrowser from 0x45e088 to 0x45e0c6 (62 bytes)\n; \n; 0 xrefs:\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            {R4-R6,LR}                                             ; +0x0, 0x45e088\nMOV             R5, R0                                                 ; +0x2, 0x45e08a\nBL              _ZN13GJSongBrowser6createEv; GJSongBrowser::create(void) ; +0x4, 0x45e08c\nADD.W           R5, R5, #0x1F4                                         ; +0x8, 0x45e090\nSTR.W           R5, [R0,#0x1D8]                                        ; +0xc, 0x45e094\nMOV             R4, R0                                                 ; +0x10, 0x45e098\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x12, 0x45e09a\nLDR.W           R5, [R0,#0xCC]                                         ; +0x16, 0x45e09e\nLDR             R3, [R5]                                               ; +0x1a, 0x45e0a2\nMOV             R0, R5; this                                           ; +0x1c, 0x45e0a4\nLDR.W           R6, [R3,#0xE0]                                         ; +0x1e, 0x45e0a6\nBL              _ZN7cocos2d7CCScene16getHighestChildZEv; cocos2d::CCScene::getHighestChildZ(void) ; +0x22, 0x45e0aa\nMOV             R1, R4                                                 ; +0x26, 0x45e0ae\nADDS            R2, R0, #1                                             ; +0x28, 0x45e0b0\nMOV             R0, R5                                                 ; +0x2a, 0x45e0b2\nBLX             R6                                                     ; +0x2c, 0x45e0b4\nLDR             R3, [R4]                                               ; +0x2e, 0x45e0b6\nMOV             R0, R4                                                 ; +0x30, 0x45e0b8\nMOVS            R1, #0                                                 ; +0x32, 0x45e0ba\nPOP.W           {R4-R6,LR}                                             ; +0x34, 0x45e0bc\nLDR.W           R3, [R3,#0x290]                                        ; +0x38, 0x45e0c0\nBX              R3                                                     ; +0x3c, 0x45e0c4", "xrefs": [], "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"}