; ; EditorSFXActionConfigLayer::onEditSound from 0x1004c6e78 to 0x1004c6f20 (168 bytes) ; ; 1 xrefs: ; > EditorSFXActionConfigLayer::refreshRows @ 0x1004c6b84 ; ; 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 11:06:23 +0000 ; STP X22, X21, [SP,#-0x10+var_20]! ; +0x0, 0x1004c6e78 STP X20, X19, [SP,#0x20+var_10] ; +0x4, 0x1004c6e7c STP X29, X30, [SP,#0x20+var_s0] ; +0x8, 0x1004c6e80 ADD X29, SP, #0x20 ; +0xc, 0x1004c6e84 MOV X19, X0 ; +0x10, 0x1004c6e88 LDR X8, [X1] ; +0x14, 0x1004c6e8c LDR X8, [X8,#0x40] ; +0x18, 0x1004c6e90 MOV X0, X1 ; +0x1c, 0x1004c6e94 BLR X8 ; +0x20, 0x1004c6e98 MOV X20, X0 ; +0x24, 0x1004c6e9c SUBS W8, W0, #0x3E8 ; +0x28, 0x1004c6ea0 SUB W9, W0, #0x3E1 ; +0x2c, 0x1004c6ea4 CSEL W21, W9, W8, LT ; +0x30, 0x1004c6ea8 BL EditorSFXManager__sharedState ; +0x34, 0x1004c6eac LDR W1, [X19,#0x400] ; +0x38, 0x1004c6eb0 BL EditorSFXManager__soundsForAction ; +0x3c, 0x1004c6eb4 CBZ X0, loc_1004C6F10 ; +0x40, 0x1004c6eb8 CMP W20, #0x3E1 ; +0x44, 0x1004c6ebc B.LT loc_1004C6F10 ; +0x48, 0x1004c6ec0 MOV X19, X0 ; +0x4c, 0x1004c6ec4 ASR W20, W21, #3 ; +0x50, 0x1004c6ec8 BL sub_1002E757C ; +0x54, 0x1004c6ecc CMP W20, W0 ; +0x58, 0x1004c6ed0 B.GE loc_1004C6F10 ; +0x5c, 0x1004c6ed4 MOV X0, X19 ; +0x60, 0x1004c6ed8 MOV X1, X20 ; +0x64, 0x1004c6edc BL sub_1002E75A0 ; +0x68, 0x1004c6ee0 CBZ X0, loc_1004C6F10 ; +0x6c, 0x1004c6ee4 MOV X1, #0 ; +0x70, 0x1004c6ee8 MOV W2, #1 ; +0x74, 0x1004c6eec BL SetupSFXPopup__create ; +0x78, 0x1004c6ef0 CBZ X0, loc_1004C6F10 ; +0x7c, 0x1004c6ef4 LDR X8, [X0] ; +0x80, 0x1004c6ef8 LDR X1, [X8,#0x520] ; +0x84, 0x1004c6efc LDP X29, X30, [SP,#0x20+var_s0] ; +0x88, 0x1004c6f00 LDP X20, X19, [SP,#0x20+var_10] ; +0x8c, 0x1004c6f04 LDP X22, X21, [SP+0x20+var_20],#0x30 ; +0x90, 0x1004c6f08 BR X1 ; +0x94, 0x1004c6f0c LDP X29, X30, [SP,#0x20+var_s0] ; +0x98, 0x1004c6f10 LDP X20, X19, [SP,#0x20+var_10] ; +0x9c, 0x1004c6f14 LDP X22, X21, [SP+0x20+var_20],#0x30 ; +0xa0, 0x1004c6f18 RET ; +0xa4, 0x1004c6f1c