; ; CustomSongLayer::onSearch from 0x97f3c8 to 0x97f4e4 (284 bytes) ; ; 3 xrefs: ; > @ 0xfe230 ; > CustomSongLayer::init @ 0x981114 ; > @ 0x1547bf8 ; ; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! ; ; 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 12:57:50 +0000 ; STP X29, X30, [SP,#var_50]! ; +0x0, 0x97f3c8 MOV X29, SP ; +0x4, 0x97f3cc STP X19, X20, [SP,#0x50+var_40] ; +0x8, 0x97f3d0 ADRP X19, #__stack_chk_guard_ptr@PAGE ; +0xc, 0x97f3d4 STR X21, [SP,#0x50+var_30] ; +0x10, 0x97f3d8 MOV X21, X0 ; +0x14, 0x97f3dc ADRL X20, a0051; "0051" ; +0x18, 0x97f3e0 LDR X0, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x20, 0x97f3e8 LDR X0, [X0]; this ; +0x24, 0x97f3ec STR X0, [X29,#0x50+var_8] ; +0x28, 0x97f3f0 BL _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x2c, 0x97f3f4 MOV X1, X20; char * ; +0x30, 0x97f3f8 BL _ZN11GameManager15getGameVariableEPKc; GameManager::getGameVariable(char const*) ; +0x34, 0x97f3fc UXTB W0, W0; this ; +0x38, 0x97f400 CBZ W0, loc_97F49C ; +0x3c, 0x97f404 BL _ZN15FMODAudioEngine12sharedEngineEv; FMODAudioEngine::sharedEngine(void) ; +0x40, 0x97f408 ADD X20, X29, #0x50+var_20 ; +0x44, 0x97f40c MOV W1, #1; bool ; +0x48, 0x97f410 BL _ZN15FMODAudioEngine12stopAllMusicEb; FMODAudioEngine::stopAllMusic(bool) ; +0x4c, 0x97f414 LDR X2, [X21,#0x2B0] ; +0x50, 0x97f418 MOV W1, #0 ; +0x54, 0x97f41c MOV X0, X2 ; +0x58, 0x97f420 LDR X2, [X2] ; +0x5c, 0x97f424 LDR X2, [X2,#0x488] ; +0x60, 0x97f428 BLR X2 ; +0x64, 0x97f42c LDR X0, [X21,#0x2B0]; this ; +0x68, 0x97f430 MOV X8, X20 ; +0x6c, 0x97f434 BL _ZN15CCTextInputNode9getStringEv; CCTextInputNode::getString(void) ; +0x70, 0x97f438 LDRB W1, [X29,#0x50+var_20] ; +0x74, 0x97f43c ADD X0, X20, #1; char * ; +0x78, 0x97f440 TBNZ W1, #0, loc_97F494 ; +0x7c, 0x97f444 BL .atoi ; +0x80, 0x97f448 LDR X20, [X21,#0x2B8] ; +0x84, 0x97f44c BL _ZN14SongInfoObject6createEi; SongInfoObject::create(int) ; +0x88, 0x97f450 MOV X1, X0; SongInfoObject * ; +0x8c, 0x97f454 MOV X0, X20; this ; +0x90, 0x97f458 BL _ZN16CustomSongWidget16updateSongObjectEP14SongInfoObject; CustomSongWidget::updateSongObject(SongInfoObject *) ; +0x94, 0x97f45c LDR X0, [X21,#0x2B8]; this ; +0x98, 0x97f460 BL _ZN16CustomSongWidget21getSongInfoIfUnloadedEv; CustomSongWidget::getSongInfoIfUnloaded(void) ; +0x9c, 0x97f464 LDRB W0, [X29,#0x50+var_20] ; +0xa0, 0x97f468 TBNZ W0, #0, loc_97F4B8 ; +0xa4, 0x97f46c LDR X19, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0xa8, 0x97f470 LDR X1, [X29,#0x50+var_8] ; +0xac, 0x97f474 LDR X0, [X19] ; +0xb0, 0x97f478 CMP X1, X0 ; +0xb4, 0x97f47c B.NE loc_97F4C4 ; +0xb8, 0x97f480 LDP X19, X20, [SP,#0x50+var_40] ; +0xbc, 0x97f484 LDR X21, [SP,#0x50+var_30] ; +0xc0, 0x97f488 LDP X29, X30, [SP+0x50+var_50],#0x50 ; +0xc4, 0x97f48c RET ; +0xc8, 0x97f490 LDR X0, [X29,#0x50+var_10] ; +0xcc, 0x97f494 B loc_97F448 ; +0xd0, 0x97f498 BL _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0xd4, 0x97f49c MOV X1, X20; char * ; +0xd8, 0x97f4a0 MOV W2, #1; bool ; +0xdc, 0x97f4a4 BL _ZN11GameManager15setGameVariableEPKcb; GameManager::setGameVariable(char const*,bool) ; +0xe0, 0x97f4a8 MOV X0, X21; this ; +0xe4, 0x97f4ac BL _ZN15CustomSongLayer21showNewgroundsMessageEv; CustomSongLayer::showNewgroundsMessage(void) ; +0xe8, 0x97f4b0 B loc_97F470 ; +0xec, 0x97f4b4 LDR X0, [X29,#0x50+var_10]; void * ; +0xf0, 0x97f4b8 BL _ZdlPv; operator delete(void *) ; +0xf4, 0x97f4bc B loc_97F470 ; +0xf8, 0x97f4c0 BL .__stack_chk_fail ; +0xfc, 0x97f4c4 LDRB W1, [X29,#0x50+var_20] ; +0x100, 0x97f4c8 MOV X19, X0 ; +0x104, 0x97f4cc TBZ W1, #0, loc_97F4DC ; +0x108, 0x97f4d0 LDR X0, [X29,#0x50+var_10]; void * ; +0x10c, 0x97f4d4 BL _ZdlPv; operator delete(void *) ; +0x110, 0x97f4d8 MOV X0, X19 ; +0x114, 0x97f4dc BL _Unwind_Resume ; +0x118, 0x97f4e0