{"type": "func", "start": 9953764, "end": 9953876, "name": "CustomSongLayer::onSongBrowser", "pseudocode": "// \n// CustomSongLayer::onSongBrowser from 0x97e1e4 to 0x97e254 (112 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x596e0\n// > CustomSongLayer::init @ 0x980994\n// > <???> @ 0x1542100\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:57:49 +0000\n// \n\n__int64 __fastcall CustomSongLayer::onSongBrowser(CustomSongLayer *this, cocos2d::CCObject *a2)\n{\n  char *v2; // x20\n  cocos2d::CCDirector *v3; // x0\n  cocos2d::CCDirector *v4; // x19\n  cocos2d::CCScene *v5; // x20\n  void (__fastcall *v6)(cocos2d::CCScene *, cocos2d::CCDirector *, _QWORD); // x21\n  int HighestChildZ; // w0\n\n  v2 = (char *)this + 664;\n  v3 = (cocos2d::CCDirector *)GJSongBrowser::create(this);\n  *((_QWORD *)v3 + 74) = v2;\n  v4 = v3;\n  v5 = *(cocos2d::CCScene **)(cocos2d::CCDirector::sharedDirector(v3) + 272);\n  v6 = *(void (__fastcall **)(cocos2d::CCScene *, cocos2d::CCDirector *, _QWORD))(*(_QWORD *)v5 + 464LL);\n  HighestChildZ = cocos2d::CCScene::getHighestChildZ(v5);\n  v6(v5, v4, (unsigned int)(HighestChildZ + 1));\n  return (*(__int64 (__fastcall **)(cocos2d::CCDirector *, _QWORD))(*(_QWORD *)v4 + 1328LL))(v4, 0);\n}", "assembly": "; \n; CustomSongLayer::onSongBrowser from 0x97e1e4 to 0x97e254 (112 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x596e0\n; > CustomSongLayer::init @ 0x980994\n; > <???> @ 0x1542100\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:57:49 +0000\n; \nSTP             X29, X30, [SP,#var_30]!                                ; +0x0, 0x97e1e4\nMOV             X29, SP                                                ; +0x4, 0x97e1e8\nSTP             X19, X20, [SP,#0x30+var_20]                            ; +0x8, 0x97e1ec\nMOV             X20, X0                                                ; +0xc, 0x97e1f0\nSTR             X21, [SP,#0x30+var_10]                                 ; +0x10, 0x97e1f4\nADD             X20, X20, #0x298                                       ; +0x14, 0x97e1f8\nBL              _ZN13GJSongBrowser6createEv; GJSongBrowser::create(void) ; +0x18, 0x97e1fc\nSTR             X20, [X0,#0x250]                                       ; +0x1c, 0x97e200\nMOV             X19, X0                                                ; +0x20, 0x97e204\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x24, 0x97e208\nLDR             X20, [X0,#0x110]                                       ; +0x28, 0x97e20c\nMOV             X0, X20; this                                          ; +0x2c, 0x97e210\nLDR             X1, [X20]                                              ; +0x30, 0x97e214\nLDR             X21, [X1,#0x1D0]                                       ; +0x34, 0x97e218\nBL              _ZN7cocos2d7CCScene16getHighestChildZEv; cocos2d::CCScene::getHighestChildZ(void) ; +0x38, 0x97e21c\nMOV             X1, X19                                                ; +0x3c, 0x97e220\nADD             W2, W0, #1                                             ; +0x40, 0x97e224\nMOV             X0, X20                                                ; +0x44, 0x97e228\nBLR             X21                                                    ; +0x48, 0x97e22c\nLDR             X2, [X19]                                              ; +0x4c, 0x97e230\nMOV             X0, X19                                                ; +0x50, 0x97e234\nMOV             W1, #0                                                 ; +0x54, 0x97e238\nLDR             X2, [X2,#0x530]                                        ; +0x58, 0x97e23c\nBLR             X2                                                     ; +0x5c, 0x97e240\nLDR             X21, [SP,#0x30+var_10]                                 ; +0x60, 0x97e244\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x64, 0x97e248\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x68, 0x97e24c\nRET                                                                    ; +0x6c, 0x97e250", "xrefs": ["<???> @ 0x596e0", "CustomSongLayer::init @ 0x980994", "<???> @ 0x1542100"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}