{"type": "func", "start": 4061432, "end": 4061534, "name": "CustomSongWidget::getSongInfoIfUnloaded", "pseudocode": "// \n// CustomSongWidget::getSongInfoIfUnloaded from 0x3df8f8 to 0x3df95e (102 bytes)\n// \n// 2 xrefs:\n// > CustomSongLayer::init @ 0x45f37c\n// > CustomSongLayer::onSearch @ 0x45f660\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 CustomSongWidget::getSongInfoIfUnloaded(CustomSongWidget *a1)\n{\n  SongInfoObject *m_songInfoObject; // r7\n  _BYTE v3[4]; // [sp+8h] [bp-Ch] BYREF\n\n  m_songInfoObject = a1->m_songInfoObject;\n  if ( m_songInfoObject )\n  {\n    if ( m_songInfoObject->m_unloaded )\n    {\n      sub_776584((int)v3, \"Loading\");\n      sub_775D40(&m_songInfoObject->m_songName, v3);\n      sub_774008(v3);\n      CustomSongWidget::updateSongInfo(a1);\n      CustomSongWidget::onGetSongInfo(a1, nullptr);\n    }\n  }\n}", "assembly": "; \n; CustomSongWidget::getSongInfoIfUnloaded from 0x3df8f8 to 0x3df95e (102 bytes)\n; \n; 2 xrefs:\n; > CustomSongLayer::init @ 0x45f37c\n; > CustomSongLayer::onSearch @ 0x45f660\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\nLDR             R3, =(__stack_chk_guard_ptr - 0x3DF900)                ; +0x0, 0x3df8f8\nPUSH            {R4-R7,LR}                                             ; +0x2, 0x3df8fa\nADD             R3, PC; __stack_chk_guard_ptr                          ; +0x4, 0x3df8fc\nLDR             R3, [R3]; __stack_chk_guard                            ; +0x6, 0x3df8fe\nLDR.W           R7, [R0,#0x110]                                        ; +0x8, 0x3df900\nSUB             SP, SP, #0x14                                          ; +0xc, 0x3df904\nLDR             R2, [R3]                                               ; +0xe, 0x3df906\nMOV             R6, R0                                                 ; +0x10, 0x3df908\nMOV             R4, R3                                                 ; +0x12, 0x3df90a\nSTR             R2, [SP,#0x14+var_8]                                   ; +0x14, 0x3df90c\nCBZ             R7, loc_3DF94E                                         ; +0x16, 0x3df90e\nLDRB.W          R3, [R7,#0x134]                                        ; +0x18, 0x3df910\nCBZ             R3, loc_3DF94E                                         ; +0x1c, 0x3df914\nADD             R5, SP, #0x14+var_C                                    ; +0x1e, 0x3df916\nLDR             R1, =(aLoading - 0x3DF920); \"Loading\"                  ; +0x20, 0x3df918\nADD             R2, SP, #0x14+var_10                                   ; +0x22, 0x3df91a\nADD             R1, PC; \"Loading\"                                      ; +0x24, 0x3df91c\nMOV             R0, R5; int                                            ; +0x26, 0x3df91e\nBL              sub_776584                                             ; +0x28, 0x3df920\nADD.W           R0, R7, #0x10C                                         ; +0x2c, 0x3df924\nMOV             R1, R5                                                 ; +0x30, 0x3df928\nBL              sub_775D40                                             ; +0x32, 0x3df92a\nMOV             R0, R5                                                 ; +0x36, 0x3df92e\nBL              sub_774008                                             ; +0x38, 0x3df930\nMOV             R0, R6; this                                           ; +0x3c, 0x3df934\nBL              _ZN16CustomSongWidget14updateSongInfoEv; CustomSongWidget::updateSongInfo(void) ; +0x3e, 0x3df936\nMOV             R0, R6; this                                           ; +0x42, 0x3df93a\nMOVS            R1, #0; cocos2d::CCObject *                            ; +0x44, 0x3df93c\nBL              _ZN16CustomSongWidget13onGetSongInfoEPN7cocos2d8CCObjectE; CustomSongWidget::onGetSongInfo(cocos2d::CCObject *) ; +0x46, 0x3df93e\nB               loc_3DF94E                                             ; +0x4a, 0x3df942\nMOV             R0, R5                                                 ; +0x4c, 0x3df944\nBL              sub_774008                                             ; +0x4e, 0x3df946\nBL              __cxa_end_cleanup                                      ; +0x52, 0x3df94a\nLDR             R2, [SP,#0x14+var_8]                                   ; +0x56, 0x3df94e\nLDR             R3, [R4]                                               ; +0x58, 0x3df950\nCMP             R2, R3                                                 ; +0x5a, 0x3df952\nBEQ             loc_3DF95A                                             ; +0x5c, 0x3df954\nBLX             __stack_chk_fail                                       ; +0x5e, 0x3df956\nADD             SP, SP, #0x14                                          ; +0x62, 0x3df95a\nPOP             {R4-R7,PC}                                             ; +0x64, 0x3df95c", "xrefs": ["CustomSongLayer::init @ 0x45f37c", "CustomSongLayer::onSearch @ 0x45f660"], "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"}