{"type": "func", "start": 4297152800, "end": 4297152891, "name": "CustomSongLayer::onSongBrowser", "pseudocode": "// \n// CustomSongLayer::onSongBrowser from 0x100215920 to 0x10021597b (91 bytes)\n// \n// 1 xrefs:\n// > CustomSongLayer::init @ 0x100214f13\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 *v2; // r14\n  cocos2d::CCScene *m_pRunningScene; // rbx\n  int HighestChildZ; // eax\n\n  v2 = GJSongBrowser::create();\n  v2->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    v2,\n    (unsigned int)(HighestChildZ + 1));\n  ((void (__fastcall *)(GJSongBrowser *, _QWORD))v2->showLayer)(v2, 0);\n}", "assembly": "; \n; CustomSongLayer::onSongBrowser from 0x100215920 to 0x10021597b (91 bytes)\n; \n; 1 xrefs:\n; > CustomSongLayer::init @ 0x100214f13\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    rbp                                                            ; +0x0, 0x100215920\nmov     rbp, rsp                                                       ; +0x1, 0x100215921\npush    r14                                                            ; +0x4, 0x100215924\npush    rbx                                                            ; +0x6, 0x100215926\nmov     rbx, rdi                                                       ; +0x7, 0x100215927\ncall    GJSongBrowser__create                                          ; +0xa, 0x10021592a\nmov     r14, rax                                                       ; +0xf, 0x10021592f\nadd     rbx, 280h                                                      ; +0x12, 0x100215932\nmov     [rax+250h], rbx                                                ; +0x19, 0x100215939\ncall    cocos2d__CCDirector__sharedDirector                            ; +0x20, 0x100215940\nmov     rbx, [rax+108h]                                                ; +0x25, 0x100215945\nmov     rdi, rbx                                                       ; +0x2c, 0x10021594c\ncall    cocos2d__CCScene__getHighestChildZ                             ; +0x2f, 0x10021594f\nlea     edx, [rax+1]                                                   ; +0x34, 0x100215954\nmov     rax, [rbx]                                                     ; +0x37, 0x100215957\nmov     rdi, rbx                                                       ; +0x3a, 0x10021595a\nmov     rsi, r14                                                       ; +0x3d, 0x10021595d\ncall    qword ptr [rax+1C0h]                                           ; +0x40, 0x100215960\nmov     rax, [r14]                                                     ; +0x46, 0x100215966\nmov     rax, [rax+520h]                                                ; +0x49, 0x100215969\nmov     rdi, r14                                                       ; +0x50, 0x100215970\nxor     esi, esi                                                       ; +0x53, 0x100215973\npop     rbx                                                            ; +0x55, 0x100215975\npop     r14                                                            ; +0x56, 0x100215976\npop     rbp                                                            ; +0x58, 0x100215978\njmp     rax                                                            ; +0x59, 0x100215979", "xrefs": ["CustomSongLayer::init @ 0x100214f13"], "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"}