{"type": "func", "start": 4297155584, "end": 4297155686, "name": "CustomSongLayer::keyBackClicked", "pseudocode": "// \n// CustomSongLayer::keyBackClicked from 0x100216400 to 0x100216466 (102 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1008ddf68\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::keyBackClicked(CustomSongLayer *a1)\n{\n  CustomSongLayerDelegate *m_delegate; // rdi\n  FMODAudioEngine *v3; // rax\n\n  m_delegate = a1->m_delegate;\n  if ( m_delegate )\n    ((void (__fastcall *)(CustomSongLayerDelegate *))m_delegate->customSongLayerClosed)(m_delegate);\n  ((void (__fastcall *)(CCTextInputNode *, _QWORD))a1->m_songIDInput->onClickTrackNode)(a1->m_songIDInput, 0);\n  v3 = FMODAudioEngine::sharedEngine();\n  FMODAudioEngine::stopAllMusic(v3, 1);\n  ((void (__fastcall *)(CustomSongLayer *, _QWORD))a1->setKeypadEnabled)(a1, 0);\n  ((void (__fastcall *)(CustomSongLayer *, __int64))a1->removeFromParentAndCleanup)(a1, 1);\n}", "assembly": "; \n; CustomSongLayer::keyBackClicked from 0x100216400 to 0x100216466 (102 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1008ddf68\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, 0x100216400\nmov     rbp, rsp                                                       ; +0x1, 0x100216401\npush    rbx                                                            ; +0x4, 0x100216404\npush    rax                                                            ; +0x5, 0x100216405\nmov     rbx, rdi                                                       ; +0x6, 0x100216406\nmov     rdi, [rdi+2A8h]                                                ; +0x9, 0x100216409\ntest    rdi, rdi                                                       ; +0x10, 0x100216410\njz      short loc_10021641A                                            ; +0x13, 0x100216413\nmov     rax, [rdi]                                                     ; +0x15, 0x100216415\ncall    qword ptr [rax]                                                ; +0x18, 0x100216418\nmov     rdi, [rbx+298h]                                                ; +0x1a, 0x10021641a\nmov     rax, [rdi]                                                     ; +0x21, 0x100216421\nxor     esi, esi                                                       ; +0x24, 0x100216424\ncall    qword ptr [rax+478h]                                           ; +0x26, 0x100216426\ncall    FMODAudioEngine__sharedEngine                                  ; +0x2c, 0x10021642c\nmov     rdi, rax                                                       ; +0x31, 0x100216431\nmov     esi, 1                                                         ; +0x34, 0x100216434\ncall    FMODAudioEngine__stopAllMusic                                  ; +0x39, 0x100216439\nmov     rax, [rbx]                                                     ; +0x3e, 0x10021643e\nmov     rdi, rbx                                                       ; +0x41, 0x100216441\nxor     esi, esi                                                       ; +0x44, 0x100216444\ncall    qword ptr [rax+420h]                                           ; +0x46, 0x100216446\nmov     rax, [rbx]                                                     ; +0x4c, 0x10021644c\nmov     rax, [rax+200h]                                                ; +0x4f, 0x10021644f\nmov     rdi, rbx                                                       ; +0x56, 0x100216456\nmov     esi, 1                                                         ; +0x59, 0x100216459\nadd     rsp, 8                                                         ; +0x5e, 0x10021645e\npop     rbx                                                            ; +0x62, 0x100216462\npop     rbp                                                            ; +0x63, 0x100216463\njmp     rax                                                            ; +0x64, 0x100216464", "xrefs": ["<???> @ 0x1008ddf68"], "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"}