; ; CustomSongLayer::onSearch from 0x45f5f0 to 0x45f686 (150 bytes) ; ; 0 xrefs: ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; PUSH {R0-R2,R4-R7,LR} ; +0x0, 0x45f5f0 MOV R5, R0 ; +0x2, 0x45f5f2 LDR R4, =(__stack_chk_guard_ptr - 0x45F5FC) ; +0x4, 0x45f5f4 LDR R6, =(a0051 - 0x45F600); "0051" ; +0x6, 0x45f5f6 ADD R4, PC; __stack_chk_guard_ptr ; +0x8, 0x45f5f8 LDR R4, [R4]; __stack_chk_guard ; +0xa, 0x45f5fa ADD R6, PC; "0051" ; +0xc, 0x45f5fc LDR R3, [R4] ; +0xe, 0x45f5fe STR R3, [SP,#0xC+var_8] ; +0x10, 0x45f600 BL _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x12, 0x45f602 MOV R1, R6; char * ; +0x16, 0x45f606 BL _ZN11GameManager15getGameVariableEPKc; GameManager::getGameVariable(char const*) ; +0x18, 0x45f608 CBNZ R0, loc_45F622 ; +0x1c, 0x45f60c BL _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x1e, 0x45f60e MOV R1, R6; char * ; +0x22, 0x45f612 MOVS R2, #1; bool ; +0x24, 0x45f614 BL _ZN11GameManager15setGameVariableEPKcb; GameManager::setGameVariable(char const*,bool) ; +0x26, 0x45f616 MOV R0, R5; this ; +0x2a, 0x45f61a BL _ZN15CustomSongLayer21showNewgroundsMessageEv; CustomSongLayer::showNewgroundsMessage(void) ; +0x2c, 0x45f61c B loc_45F676 ; +0x30, 0x45f620 BL _ZN15FMODAudioEngine12sharedEngineEv; FMODAudioEngine::sharedEngine(void) ; +0x32, 0x45f622 MOVS R1, #(dword_0+1); p ; +0x36, 0x45f626 BL _ZN15FMODAudioEngine12stopAllMusicEb; FMODAudioEngine::stopAllMusic(bool) ; +0x38, 0x45f628 LDR.W R0, [R5,#0x200] ; +0x3c, 0x45f62c MOVS R1, #0 ; +0x40, 0x45f630 MOV R6, SP ; +0x42, 0x45f632 LDR R3, [R0] ; +0x44, 0x45f634 LDR.W R3, [R3,#0x23C] ; +0x46, 0x45f636 BLX R3 ; +0x4a, 0x45f63a MOV R0, SP; this ; +0x4c, 0x45f63c LDR.W R1, [R5,#0x200] ; +0x4e, 0x45f63e BL _ZN15CCTextInputNode9getStringEv; CCTextInputNode::getString(void) ; +0x52, 0x45f642 LDR R0, [SP,#0xC+var_C]; char * ; +0x56, 0x45f646 BLX atoi ; +0x58, 0x45f648 LDR.W R7, [R5,#0x204] ; +0x5c, 0x45f64c BL _ZN14SongInfoObject6createEi; SongInfoObject::create(int) ; +0x60, 0x45f650 MOV R1, R0; SongInfoObject * ; +0x64, 0x45f654 MOV R0, R7; this ; +0x66, 0x45f656 BL _ZN16CustomSongWidget16updateSongObjectEP14SongInfoObject; CustomSongWidget::updateSongObject(SongInfoObject *) ; +0x68, 0x45f658 LDR.W R0, [R5,#0x204]; this ; +0x6c, 0x45f65c BL _ZN16CustomSongWidget21getSongInfoIfUnloadedEv; CustomSongWidget::getSongInfoIfUnloaded(void) ; +0x70, 0x45f660 MOV R0, SP ; +0x74, 0x45f664 BL sub_774008 ; +0x76, 0x45f666 B loc_45F676 ; +0x7a, 0x45f66a MOV R0, R6 ; +0x7c, 0x45f66c BL sub_774008 ; +0x7e, 0x45f66e BL __cxa_end_cleanup ; +0x82, 0x45f672 LDR R2, [SP,#0xC+var_8] ; +0x86, 0x45f676 LDR R3, [R4] ; +0x88, 0x45f678 CMP R2, R3 ; +0x8a, 0x45f67a BEQ loc_45F682 ; +0x8c, 0x45f67c BLX __stack_chk_fail ; +0x8e, 0x45f67e ADD SP, SP, #0xC ; +0x92, 0x45f682 POP {R4-R7,PC} ; +0x94, 0x45f684