{"type": "func", "start": 5372339104, "end": 5372339205, "name": "MoreOptionsLayer::onSongBrowser", "pseudocode": "// \n// MoreOptionsLayer::onSongBrowser from 0x1403763a0 to 0x140376405 (101 bytes)\n// \n// 2 xrefs:\n// > MoreOptionsLayer::init @ 0x14037418e\n// > <???> @ 0x1406d5ba0\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 MoreOptionsLayer::onSongBrowser(MoreOptionsLayer *a1, cocos2d::CCObject *a2)\n{\n  __int64 v3; // rcx\n  GJSongBrowser *v4; // rdi\n  GJDropDownLayerDelegate *v5; // rdx\n  __int64 v6; // rax\n\n  v4 = GJSongBrowser::create();\n  v5 = &a1->GJDropDownLayerDelegate;\n  if ( !a1 )\n    v5 = nullptr;\n  v4->m_delegate = v5;\n  v6 = cocos2d::CCDirector::sharedDirector(v3);\n  (*(void (__fastcall **)(_QWORD, GJSongBrowser *, __int64))(**(_QWORD **)(v6 + 264) + 440LL))(\n    *(_QWORD *)(v6 + 264),\n    v4,\n    106);\n  v4->showLayer(v4, 0);\n}", "assembly": "; \n; MoreOptionsLayer::onSongBrowser from 0x1403763a0 to 0x140376405 (101 bytes)\n; \n; 2 xrefs:\n; > MoreOptionsLayer::init @ 0x14037418e\n; > <???> @ 0x1406d5ba0\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1403763a0\npush    rdi                                                            ; +0x5, 0x1403763a5\nsub     rsp, 20h                                                       ; +0x6, 0x1403763a6\nmov     rbx, rcx                                                       ; +0xa, 0x1403763aa\ncall    GJSongBrowser__create                                          ; +0xd, 0x1403763ad\nmov     rdi, rax                                                       ; +0x12, 0x1403763b2\nlea     rdx, [rbx+288h]                                                ; +0x15, 0x1403763b5\nxor     eax, eax                                                       ; +0x1c, 0x1403763bc\ntest    rbx, rbx                                                       ; +0x1e, 0x1403763be\ncmovz   rdx, rax                                                       ; +0x21, 0x1403763c1\nmov     [rdi+250h], rdx                                                ; +0x25, 0x1403763c5\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x2c, 0x1403763cc\nmov     r8d, 6Ah ; 'j'                                                 ; +0x32, 0x1403763d2\nmov     rdx, rdi                                                       ; +0x38, 0x1403763d8\nmov     rcx, [rax+108h]                                                ; +0x3b, 0x1403763db\nmov     r9, [rcx]                                                      ; +0x42, 0x1403763e2\ncall    qword ptr [r9+1B8h]                                            ; +0x45, 0x1403763e5\nmov     rax, [rdi]                                                     ; +0x4c, 0x1403763ec\nxor     edx, edx                                                       ; +0x4f, 0x1403763ef\nmov     rcx, rdi                                                       ; +0x51, 0x1403763f1\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x54, 0x1403763f4\nadd     rsp, 20h                                                       ; +0x59, 0x1403763f9\npop     rdi                                                            ; +0x5d, 0x1403763fd\njmp     qword ptr [rax+428h]                                           ; +0x5e, 0x1403763fe", "xrefs": ["MoreOptionsLayer::init @ 0x14037418e", "<???> @ 0x1406d5ba0"], "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"}