{"type": "func", "start": 4296003808, "end": 4296003924, "name": "CustomSongWidget::getSongInfoIfUnloaded", "pseudocode": "// \n// CustomSongWidget::getSongInfoIfUnloaded from 0x1000fd0e0 to 0x1000fd154 (116 bytes)\n// \n// 2 xrefs:\n// > CustomSongLayer::init @ 0x10014455c\n// > CustomSongLayer::onSearch @ 0x1001447d8\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 CustomSongWidget::getSongInfoIfUnloaded(CustomSongWidget *a1)\n{\n  SongInfoObject *m_songInfoObject; // x20\n  cocos2d::CCObject *v3; // x1\n  std::string __str; // [xsp+8h] [xbp-28h] BYREF\n\n  m_songInfoObject = a1->m_songInfoObject;\n  if ( m_songInfoObject && m_songInfoObject->m_unloaded )\n  {\n    sub_100009900(&__str, \"Loading\");\n    std::string::operator=((std::string *)&m_songInfoObject->m_songName, &__str);\n    if ( SHIBYTE(__str.__r_.__value_.__r.__words[2]) < 0 )\n      operator delete(__str.__r_.__value_.__l.__data_);\n    CustomSongWidget::updateSongInfo(a1);\n    CustomSongWidget::onGetSongInfo(a1, v3);\n  }\n}", "assembly": "; \n; CustomSongWidget::getSongInfoIfUnloaded from 0x1000fd0e0 to 0x1000fd154 (116 bytes)\n; \n; 2 xrefs:\n; > CustomSongLayer::init @ 0x10014455c\n; > CustomSongLayer::onSearch @ 0x1001447d8\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\nSUB             SP, SP, #0x40                                          ; +0x0, 0x1000fd0e0\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x1000fd0e4\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x1000fd0e8\nADD             X29, SP, #0x30                                         ; +0xc, 0x1000fd0ec\nLDR             X20, [X0,#0x150]                                       ; +0x10, 0x1000fd0f0\nCBZ             X20, loc_1000FD144                                     ; +0x14, 0x1000fd0f4\nLDRB            W8, [X20,#0x1F8]                                       ; +0x18, 0x1000fd0f8\nCMP             W8, #1                                                 ; +0x1c, 0x1000fd0fc\nB.NE            loc_1000FD144                                          ; +0x20, 0x1000fd100\nMOV             X19, X0                                                ; +0x24, 0x1000fd104\nADRL            X1, aLoading; \"Loading\"                                ; +0x28, 0x1000fd108\nADD             X0, SP, #0x30+__str; int                               ; +0x30, 0x1000fd110\nBL              sub_100009900                                          ; +0x34, 0x1000fd114\nADD             X0, X20, #0x140; this                                  ; +0x38, 0x1000fd118\nADD             X1, SP, #0x30+__str; __str                             ; +0x3c, 0x1000fd11c\nBL              __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEaSERKS5_; std::string::operator=(std::string const&) ; +0x40, 0x1000fd120\nLDRSB           W8, [SP,#0x30+__str.__r_.__value_+0x17]                ; +0x44, 0x1000fd124\nTBZ             W8, #0x1F, loc_1000FD134                               ; +0x48, 0x1000fd128\nLDR             X0, [SP,#0x30+__str]; __p                              ; +0x4c, 0x1000fd12c\nBL              __ZdlPv; operator delete(void *)                       ; +0x50, 0x1000fd130\nMOV             X0, X19                                                ; +0x54, 0x1000fd134\nBL              CustomSongWidget__updateSongInfo                       ; +0x58, 0x1000fd138\nMOV             X0, X19                                                ; +0x5c, 0x1000fd13c\nBL              CustomSongWidget__onGetSongInfo                        ; +0x60, 0x1000fd140\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x64, 0x1000fd144\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x68, 0x1000fd148\nADD             SP, SP, #0x40 ; '@'                                    ; +0x6c, 0x1000fd14c\nRET                                                                    ; +0x70, 0x1000fd150", "xrefs": ["CustomSongLayer::init @ 0x10014455c", "CustomSongLayer::onSearch @ 0x1001447d8"], "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"}