{"type": "func", "start": 4296153532, "end": 4296153648, "name": "CustomSongWidget::getSongInfoIfUnloaded", "pseudocode": "// \n// CustomSongWidget::getSongInfoIfUnloaded from 0x1001219bc to 0x100121a30 (116 bytes)\n// \n// 3 xrefs:\n// > CustomSongLayer::init @ 0x1001c30c4\n// > CustomSongLayer::onSearch @ 0x1001c3340\n// > AudioAssetsPopup::init @ 0x1004a9758\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 10:59:16 +0000\n// \n\n__int64 __fastcall CustomSongWidget::getSongInfoIfUnloaded(__int64 result)\n{\n  __int64 v1; // x20\n  __int64 v2; // x19\n  std::string __str; // [xsp+8h] [xbp-28h] BYREF\n\n  v1 = *(_QWORD *)(result + 336);\n  if ( v1 && *(_BYTE *)(v1 + 432) == 1 )\n  {\n    v2 = result;\n    sub_100009900(&__str, \"Loading\");\n    std::string::operator=((std::string *)(v1 + 320), &__str);\n    if ( SHIBYTE(__str.__r_.__value_.__r.__words[2]) < 0 )\n      operator delete(__str.__r_.__value_.__l.__data_);\n    CustomSongWidget::updateSongInfo(v2);\n    return sub_10011F884(v2);\n  }\n  return result;\n}", "assembly": "; \n; CustomSongWidget::getSongInfoIfUnloaded from 0x1001219bc to 0x100121a30 (116 bytes)\n; \n; 3 xrefs:\n; > CustomSongLayer::init @ 0x1001c30c4\n; > CustomSongLayer::onSearch @ 0x1001c3340\n; > AudioAssetsPopup::init @ 0x1004a9758\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 10:59:16 +0000\n; \nSUB             SP, SP, #0x40                                          ; +0x0, 0x1001219bc\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x1001219c0\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x1001219c4\nADD             X29, SP, #0x30                                         ; +0xc, 0x1001219c8\nLDR             X20, [X0,#0x150]                                       ; +0x10, 0x1001219cc\nCBZ             X20, loc_100121A20                                     ; +0x14, 0x1001219d0\nLDRB            W8, [X20,#0x1B0]                                       ; +0x18, 0x1001219d4\nCMP             W8, #1                                                 ; +0x1c, 0x1001219d8\nB.NE            loc_100121A20                                          ; +0x20, 0x1001219dc\nMOV             X19, X0                                                ; +0x24, 0x1001219e0\nADRL            X1, aLoading; \"Loading\"                                ; +0x28, 0x1001219e4\nADD             X0, SP, #0x30+__str; int                               ; +0x30, 0x1001219ec\nBL              sub_100009900                                          ; +0x34, 0x1001219f0\nADD             X0, X20, #0x140; this                                  ; +0x38, 0x1001219f4\nADD             X1, SP, #0x30+__str; __str                             ; +0x3c, 0x1001219f8\nBL              __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEaSERKS5_; std::string::operator=(std::string const&) ; +0x40, 0x1001219fc\nLDRSB           W8, [SP,#0x30+__str.__r_.__value_+0x17]                ; +0x44, 0x100121a00\nTBZ             W8, #0x1F, loc_100121A10                               ; +0x48, 0x100121a04\nLDR             X0, [SP,#0x30+__str]; __p                              ; +0x4c, 0x100121a08\nBL              __ZdlPv; operator delete(void *)                       ; +0x50, 0x100121a0c\nMOV             X0, X19                                                ; +0x54, 0x100121a10\nBL              CustomSongWidget__updateSongInfo                       ; +0x58, 0x100121a14\nMOV             X0, X19                                                ; +0x5c, 0x100121a18\nBL              sub_10011F884                                          ; +0x60, 0x100121a1c\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x64, 0x100121a20\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x68, 0x100121a24\nADD             SP, SP, #0x40 ; '@'                                    ; +0x6c, 0x100121a28\nRET                                                                    ; +0x70, 0x100121a2c", "xrefs": ["CustomSongLayer::init @ 0x1001c30c4", "CustomSongLayer::onSearch @ 0x1001c3340", "AudioAssetsPopup::init @ 0x1004a9758"], "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"}