; ; CustomSongLayer::onSearch from 0x57ce44 to 0x57cee8 (164 bytes) ; ; 0 xrefs: ; ; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 11:52:50 +0000 ; PUSH {R4-R7,LR} ; +0x0, 0x57ce44 SUB SP, SP, #0x14 ; +0x2, 0x57ce46 LDR R4, =(__stack_chk_guard_ptr - 0x57CE52) ; +0x4, 0x57ce48 MOV R5, R0 ; +0x6, 0x57ce4a LDR R6, =(a0051 - 0x57CE56); "0051" ; +0x8, 0x57ce4c ADD R4, PC; __stack_chk_guard_ptr ; +0xa, 0x57ce4e LDR R4, [R4]; __stack_chk_guard ; +0xc, 0x57ce50 ADD R6, PC; "0051" ; +0xe, 0x57ce52 LDR R3, [R4] ; +0x10, 0x57ce54 STR R3, [SP,#0x14+var_8] ; +0x12, 0x57ce56 BL _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x14, 0x57ce58 MOV R1, R6; char * ; +0x18, 0x57ce5c BL _ZN11GameManager15getGameVariableEPKc; GameManager::getGameVariable(char const*) ; +0x1a, 0x57ce5e CBNZ R0, loc_57CE78 ; +0x1e, 0x57ce62 BL _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x20, 0x57ce64 MOV R1, R6; char * ; +0x24, 0x57ce68 MOVS R2, #1; bool ; +0x26, 0x57ce6a BL _ZN11GameManager15setGameVariableEPKcb; GameManager::setGameVariable(char const*,bool) ; +0x28, 0x57ce6c MOV R0, R5; this ; +0x2c, 0x57ce70 BL _ZN15CustomSongLayer21showNewgroundsMessageEv; CustomSongLayer::showNewgroundsMessage(void) ; +0x2e, 0x57ce72 B loc_57CED8 ; +0x32, 0x57ce76 BL _ZN15FMODAudioEngine12sharedEngineEv; FMODAudioEngine::sharedEngine(void) ; +0x34, 0x57ce78 MOVS R1, #1; bool ; +0x38, 0x57ce7c BL _ZN15FMODAudioEngine12stopAllMusicEb; FMODAudioEngine::stopAllMusic(bool) ; +0x3a, 0x57ce7e LDR.W R0, [R5,#0x214] ; +0x3e, 0x57ce82 MOVS R1, #0 ; +0x42, 0x57ce86 MOV R6, SP ; +0x44, 0x57ce88 LDR R3, [R0] ; +0x46, 0x57ce8a LDR.W R3, [R3,#0x244] ; +0x48, 0x57ce8c BLX R3 ; +0x4c, 0x57ce90 MOV R0, SP; this ; +0x4e, 0x57ce92 LDR.W R1, [R5,#0x214] ; +0x50, 0x57ce94 BL _ZN15CCTextInputNode9getStringEv; CCTextInputNode::getString(void) ; +0x54, 0x57ce98 LDRB.W R3, [SP,#0x14+var_14] ; +0x58, 0x57ce9c LSLS R3, R3, #0x1F ; +0x5c, 0x57cea0 ITE PL ; +0x5e, 0x57cea2 ADDPL.W R0, SP, #0x14+var_13 ; +0x60, 0x57cea4 LDRMI R0, [SP,#0x14+var_C]; char * ; +0x64, 0x57cea8 BLX atoi ; +0x66, 0x57ceaa LDR.W R7, [R5,#0x218] ; +0x6a, 0x57ceae BL _ZN14SongInfoObject6createEi; SongInfoObject::create(int) ; +0x6e, 0x57ceb2 MOV R1, R0; SongInfoObject * ; +0x72, 0x57ceb6 MOV R0, R7; this ; +0x74, 0x57ceb8 BL _ZN16CustomSongWidget16updateSongObjectEP14SongInfoObject; CustomSongWidget::updateSongObject(SongInfoObject *) ; +0x76, 0x57ceba LDR.W R0, [R5,#0x218]; this ; +0x7a, 0x57cebe BL _ZN16CustomSongWidget21getSongInfoIfUnloadedEv; CustomSongWidget::getSongInfoIfUnloaded(void) ; +0x7e, 0x57cec2 MOV R0, SP ; +0x82, 0x57cec6 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x84, 0x57cec8 B loc_57CED8 ; +0x88, 0x57cecc MOV R0, R6 ; +0x8a, 0x57cece BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x8c, 0x57ced0 BL __cxa_end_cleanup ; +0x90, 0x57ced4 LDR R2, [SP,#0x14+var_8] ; +0x94, 0x57ced8 LDR R3, [R4] ; +0x96, 0x57ceda CMP R2, R3 ; +0x98, 0x57cedc BEQ loc_57CEE4 ; +0x9a, 0x57cede BLX __stack_chk_fail ; +0x9c, 0x57cee0 ADD SP, SP, #0x14 ; +0xa0, 0x57cee4 POP {R4-R7,PC} ; +0xa2, 0x57cee6