; ; BrowseSmartKeyLayer::onButton from 0x9e20d4 to 0x9e2174 (160 bytes) ; ; 6 xrefs: ; > @ 0xc01b0 ; > BrowseSmartKeyLayer::init @ 0x9e0bd4 ; > BrowseSmartKeyLayer::init @ 0x9e0c40 ; > BrowseSmartKeyLayer::init @ 0x9e0ca8 ; > BrowseSmartKeyLayer::init @ 0x9e0d10 ; > @ 0x122eaa8 ; ; 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_20]! ; +0x0, 0x9e20d4 MOV X29, SP ; +0x4, 0x9e20d8 STR X19, [SP,#0x20+var_10] ; +0x8, 0x9e20dc MOV X19, X0 ; +0xc, 0x9e20e0 MOV X0, X1 ; +0x10, 0x9e20e4 LDR X1, [X1] ; +0x14, 0x9e20e8 LDR X1, [X1,#0x40] ; +0x18, 0x9e20ec BLR X1 ; +0x1c, 0x9e20f0 SUB W0, W0, #1; switch 4 cases ; +0x20, 0x9e20f4 CMP W0, #3 ; +0x24, 0x9e20f8 B.LS loc_9E210C ; +0x28, 0x9e20fc LDR X19, [SP,#0x20+var_10]; jumptable 00000000009E2120 default case ; +0x2c, 0x9e2100 LDP X29, X30, [SP+0x20+var_20],#0x20 ; +0x30, 0x9e2104 RET ; +0x34, 0x9e2108 ADRL X1, jpt_9E2120 ; +0x38, 0x9e210c LDRB W0, [X1,W0,UXTW] ; +0x40, 0x9e2114 ADR X1, loc_9E2124; jumptable 00000000009E2120 case 3 ; +0x44, 0x9e2118 ADD X0, X1, W0,SXTB#2 ; +0x48, 0x9e211c BR X0; switch jump ; +0x4c, 0x9e2120 MOV X0, X19; jumptable 00000000009E2120 case 3 ; +0x50, 0x9e2124 LDR X19, [SP,#0x20+var_10] ; +0x54, 0x9e2128 LDP X29, X30, [SP+0x20+var_20],#0x20 ; +0x58, 0x9e212c MOV W1, #0; int ; +0x5c, 0x9e2130 MOV W2, #1; bool ; +0x60, 0x9e2134 B _ZN19BrowseSmartKeyLayer19addChanceToSelectedEib; BrowseSmartKeyLayer::addChanceToSelected(int,bool) ; +0x64, 0x9e2138 MOV X0, X19; jumptable 00000000009E2120 case 2 ; +0x68, 0x9e213c LDR X19, [SP,#0x20+var_10] ; +0x6c, 0x9e2140 LDP X29, X30, [SP+0x20+var_20],#0x20 ; +0x70, 0x9e2144 B _ZN19BrowseSmartKeyLayer20deletedSelectedItemsEv; BrowseSmartKeyLayer::deletedSelectedItems(void) ; +0x74, 0x9e2148 MOV X0, X19; jumptable 00000000009E2120 case 1 ; +0x78, 0x9e214c LDR X19, [SP,#0x20+var_10] ; +0x7c, 0x9e2150 LDP X29, X30, [SP+0x20+var_20],#0x20 ; +0x80, 0x9e2154 B _ZN19BrowseSmartKeyLayer21createTemplateObjectsEv; BrowseSmartKeyLayer::createTemplateObjects(void) ; +0x84, 0x9e2158 MOV X0, X19; jumptable 00000000009E2120 case 4 ; +0x88, 0x9e215c LDR X19, [SP,#0x20+var_10] ; +0x8c, 0x9e2160 LDP X29, X30, [SP+0x20+var_20],#0x20 ; +0x90, 0x9e2164 MOV W1, #0xA; int ; +0x94, 0x9e2168 MOV W2, #0; bool ; +0x98, 0x9e216c B _ZN19BrowseSmartKeyLayer19addChanceToSelectedEib; BrowseSmartKeyLayer::addChanceToSelected(int,bool) ; +0x9c, 0x9e2170