; ; CustomSongLayer::showNewgroundsMessage from 0x83cecc to 0x83cfe4 (280 bytes) ; ; 2 xrefs: ; > CustomSongLayer::onSearch @ 0x83d0cc ; > @ 0x6fc00 ; ; 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 ; STP X29, X30, [SP,#var_40]! ; +0x0, 0x83cecc ADRP X1, #aThereAreThousa@PAGE; "There are thousands of great custom son"... ; +0x4, 0x83ced0 MOV X29, SP ; +0x8, 0x83ced4 STP X19, X20, [SP,#0x40+var_30] ; +0xc, 0x83ced8 ADRP X19, #__stack_chk_guard_ptr@PAGE ; +0x10, 0x83cedc ADD X20, X29, #0x40+var_10 ; +0x14, 0x83cee0 MOV X0, X20; int ; +0x18, 0x83cee4 ADD X1, X1, #aThereAreThousa@PAGEOFF; "There are thousands of great custom son"... ; +0x1c, 0x83cee8 ADD X2, X29, #0x40+var_20 ; +0x20, 0x83ceec LDR X3, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x24, 0x83cef0 LDR X3, [X3] ; +0x28, 0x83cef4 STR X3, [X29,#0x40+var_8] ; +0x2c, 0x83cef8 BL sub_D153B8 ; +0x30, 0x83cefc LDR S0, =0x43BE0000 ; +0x34, 0x83cf00 ADRP X1, #aNewgroundsInfo@PAGE; "Newgrounds Info" ; +0x38, 0x83cf04 ADRP X3, #aOk@PAGE; "OK" ; +0x3c, 0x83cf08 MOV X0, #0 ; +0x40, 0x83cf0c ADD X1, X1, #aNewgroundsInfo@PAGEOFF; "Newgrounds Info" ; +0x44, 0x83cf10 MOV X2, X20 ; +0x48, 0x83cf14 ADD X3, X3, #aOk@PAGEOFF; "OK" ; +0x4c, 0x83cf18 MOV X4, #0 ; +0x50, 0x83cf1c BL _ZN12FLAlertLayer6createEP20FLAlertLayerProtocolPKcSsS3_S3_f; FLAlertLayer::create(FLAlertLayerProtocol *,char const*,std::string,char const*,char const*,float) ; +0x54, 0x83cf20 ADRP X1, #off_122EFE8@PAGE ; +0x58, 0x83cf24 LDR X2, [X29,#0x40+var_10] ; +0x5c, 0x83cf28 MOV X20, X0 ; +0x60, 0x83cf2c SUB X0, X2, #0x18; p ; +0x64, 0x83cf30 LDR X1, [X1,#off_122EFE8@PAGEOFF]; qword_124B6B0 ; +0x68, 0x83cf34 CMP X0, X1 ; +0x6c, 0x83cf38 B.NE loc_83CF70 ; +0x70, 0x83cf3c LDR X1, [X20] ; +0x74, 0x83cf40 MOV X0, X20 ; +0x78, 0x83cf44 LDR X1, [X1,#0x508] ; +0x7c, 0x83cf48 BLR X1 ; +0x80, 0x83cf4c LDR X19, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x84, 0x83cf50 LDR X1, [X29,#0x40+var_8] ; +0x88, 0x83cf54 LDR X0, [X19] ; +0x8c, 0x83cf58 CMP X1, X0 ; +0x90, 0x83cf5c B.NE loc_83CFB4 ; +0x94, 0x83cf60 LDP X19, X20, [SP,#0x40+var_30] ; +0x98, 0x83cf64 LDP X29, X30, [SP+0x40+var_40],#0x40 ; +0x9c, 0x83cf68 RET ; +0xa0, 0x83cf6c ADRP X1, #pthread_create_ptr_0@PAGE ; +0xa4, 0x83cf70 LDR X1, [X1,#pthread_create_ptr_0@PAGEOFF]; pthread_create ; +0xa8, 0x83cf74 CBZ X1, loc_83CFA4 ; +0xac, 0x83cf78 SUB X2, X2, #8 ; +0xb0, 0x83cf7c LDAXR W1, [X2] ; +0xb4, 0x83cf80 SUB W3, W1, #1 ; +0xb8, 0x83cf84 STLXR W4, W3, [X2] ; +0xbc, 0x83cf88 CBNZ W4, loc_83CF80 ; +0xc0, 0x83cf8c CMP W1, WZR ; +0xc4, 0x83cf90 B.GT loc_83CF40 ; +0xc8, 0x83cf94 ADD X1, X29, #0x40+var_18 ; +0xcc, 0x83cf98 BL j__ZdlPv; operator delete(void *) ; +0xd0, 0x83cf9c B loc_83CF40 ; +0xd4, 0x83cfa0 LDUR W1, [X2,#-8] ; +0xd8, 0x83cfa4 SUB W3, W1, #1 ; +0xdc, 0x83cfa8 STUR W3, [X2,#-8] ; +0xe0, 0x83cfac B loc_83CF90 ; +0xe4, 0x83cfb0 BL .__stack_chk_fail ; +0xe8, 0x83cfb4 ADRP X1, #off_122EFE8@PAGE ; +0xec, 0x83cfb8 MOV X19, X0 ; +0xf0, 0x83cfbc LDR X0, [X29,#0x40+var_10] ; +0xf4, 0x83cfc0 LDR X1, [X1,#off_122EFE8@PAGEOFF]; qword_124B6B0 ; +0xf8, 0x83cfc4 SUB X0, X0, #0x18 ; +0xfc, 0x83cfc8 CMP X0, X1 ; +0x100, 0x83cfcc B.EQ loc_83CFDC ; +0x104, 0x83cfd0 ADD X1, X29, #0x40+var_18 ; +0x108, 0x83cfd4 BL sub_4DC1E0 ; +0x10c, 0x83cfd8 MOV X0, X19 ; +0x110, 0x83cfdc BL _Unwind_Resume ; +0x114, 0x83cfe0