; ; EndLevelLayer::onReplay from 0x1002f7218 to 0x1002f7308 (240 bytes) ; ; 2 xrefs: ; > EndLevelLayer::keyDown @ 0x1002f8ba0 ; > EndLevelLayer::customSetup @ 0x1002f645c ; ; 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 ; SUB SP, SP, #0x40 ; +0x0, 0x1002f7218 STP X20, X19, [SP,#0x30+var_10] ; +0x4, 0x1002f721c STP X29, X30, [SP,#0x30+var_s0] ; +0x8, 0x1002f7220 ADD X29, SP, #0x30 ; +0xc, 0x1002f7224 LDRB W8, [X0,#0x26B] ; +0x10, 0x1002f7228 TBNZ W8, #0, loc_1002F72F8 ; +0x14, 0x1002f722c MOV X19, X0 ; +0x18, 0x1002f7230 MOV W8, #1 ; +0x1c, 0x1002f7234 STRB W8, [X0,#0x26B] ; +0x20, 0x1002f7238 BL GameManager__sharedState ; +0x24, 0x1002f723c ADRL X1, a0024; "0024" ; +0x28, 0x1002f7240 BL GameManager__getGameVariable ; +0x30, 0x1002f7248 TBNZ W0, #0, loc_1002F7254 ; +0x34, 0x1002f724c BL PlatformToolbox__hideCursor ; +0x38, 0x1002f7250 BL FMODAudioEngine__sharedEngine ; +0x3c, 0x1002f7254 BL FMODAudioEngine__clearAllAudio ; +0x40, 0x1002f7258 BL FMODAudioEngine__sharedEngine ; +0x44, 0x1002f725c MOV X20, X0 ; +0x48, 0x1002f7260 ADRL X1, aPlaysound01Ogg; "playSound_01.ogg" ; +0x4c, 0x1002f7264 ADD X0, SP, #0x30+__p; int ; +0x54, 0x1002f726c BL sub_100009900 ; +0x58, 0x1002f7270 ADRP X8, #dword_100635360@PAGE ; +0x5c, 0x1002f7274 LDR S2, [X8,#dword_100635360@PAGEOFF] ; +0x60, 0x1002f7278 ADD X1, SP, #0x30+__p ; +0x64, 0x1002f727c FMOV S0, #1.0 ; +0x68, 0x1002f7280 FMOV S1, WZR ; +0x6c, 0x1002f7284 MOV X0, X20 ; +0x70, 0x1002f7288 BL FMODAudioEngine__playEffect ; +0x74, 0x1002f728c LDRSB W8, [SP,#0x30+var_11] ; +0x78, 0x1002f7290 TBZ W8, #0x1F, loc_1002F72A0 ; +0x7c, 0x1002f7294 LDR X0, [SP,#0x30+__p]; __p ; +0x80, 0x1002f7298 BL __ZdlPv; operator delete(void *) ; +0x84, 0x1002f729c LDR X8, [X19] ; +0x88, 0x1002f72a0 LDR X8, [X8,#0x518] ; +0x8c, 0x1002f72a4 MOV X0, X19 ; +0x90, 0x1002f72a8 MOV X1, #0 ; +0x94, 0x1002f72ac BLR X8 ; +0x98, 0x1002f72b0 LDR X8, [X19] ; +0x9c, 0x1002f72b4 LDR X8, [X8,#0x3D8] ; +0xa0, 0x1002f72b8 MOV X0, X19 ; +0xa4, 0x1002f72bc MOV W1, #0 ; +0xa8, 0x1002f72c0 BLR X8 ; +0xac, 0x1002f72c4 LDR X8, [X19] ; +0xb0, 0x1002f72c8 LDR X8, [X8,#0x430] ; +0xb4, 0x1002f72cc MOV X0, X19 ; +0xb8, 0x1002f72d0 MOV W1, #0 ; +0xbc, 0x1002f72d4 BLR X8 ; +0xc0, 0x1002f72d8 LDR X8, [X19] ; +0xc4, 0x1002f72dc LDR X8, [X8,#0x420] ; +0xc8, 0x1002f72e0 MOV X0, X19 ; +0xcc, 0x1002f72e4 MOV W1, #0 ; +0xd0, 0x1002f72e8 BLR X8 ; +0xd4, 0x1002f72ec LDR X0, [X19,#0x260] ; +0xd8, 0x1002f72f0 BL PlayLayer__delayedFullReset ; +0xdc, 0x1002f72f4 LDP X29, X30, [SP,#0x30+var_s0] ; +0xe0, 0x1002f72f8 LDP X20, X19, [SP,#0x30+var_10] ; +0xe4, 0x1002f72fc ADD SP, SP, #0x40 ; '@' ; +0xe8, 0x1002f7300 RET ; +0xec, 0x1002f7304