; ; BrowseSmartKeyLayer::onButton from 0xb168b0 to 0xb16950 (160 bytes) ; ; 6 xrefs: ; > @ 0xfa528 ; > BrowseSmartKeyLayer::init @ 0xb18318 ; > BrowseSmartKeyLayer::init @ 0xb18384 ; > BrowseSmartKeyLayer::init @ 0xb183ec ; > BrowseSmartKeyLayer::init @ 0xb18454 ; > @ 0x15479c0 ; ; 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 13:01:32 +0000 ; STP X29, X30, [SP,#var_20]! ; +0x0, 0xb168b0 MOV X29, SP ; +0x4, 0xb168b4 STR X19, [SP,#0x20+var_10] ; +0x8, 0xb168b8 MOV X19, X0 ; +0xc, 0xb168bc MOV X0, X1 ; +0x10, 0xb168c0 LDR X1, [X1] ; +0x14, 0xb168c4 LDR X1, [X1,#0x40] ; +0x18, 0xb168c8 BLR X1 ; +0x1c, 0xb168cc SUB W0, W0, #1; switch 4 cases ; +0x20, 0xb168d0 CMP W0, #3 ; +0x24, 0xb168d4 B.LS loc_B168E8 ; +0x28, 0xb168d8 LDR X19, [SP,#0x20+var_10]; jumptable 0000000000B168FC default case ; +0x2c, 0xb168dc LDP X29, X30, [SP+0x20+var_20],#0x20 ; +0x30, 0xb168e0 RET ; +0x34, 0xb168e4 ADRL X1, jpt_B168FC ; +0x38, 0xb168e8 LDRB W0, [X1,W0,UXTW] ; +0x40, 0xb168f0 ADR X1, loc_B16900; jumptable 0000000000B168FC case 3 ; +0x44, 0xb168f4 ADD X0, X1, W0,SXTB#2 ; +0x48, 0xb168f8 BR X0; switch jump ; +0x4c, 0xb168fc MOV X0, X19; jumptable 0000000000B168FC case 3 ; +0x50, 0xb16900 LDR X19, [SP,#0x20+var_10] ; +0x54, 0xb16904 LDP X29, X30, [SP+0x20+var_20],#0x20 ; +0x58, 0xb16908 MOV W1, #0; int ; +0x5c, 0xb1690c MOV W2, #1; bool ; +0x60, 0xb16910 B _ZN19BrowseSmartKeyLayer19addChanceToSelectedEib; BrowseSmartKeyLayer::addChanceToSelected(int,bool) ; +0x64, 0xb16914 MOV X0, X19; jumptable 0000000000B168FC case 2 ; +0x68, 0xb16918 LDR X19, [SP,#0x20+var_10] ; +0x6c, 0xb1691c LDP X29, X30, [SP+0x20+var_20],#0x20 ; +0x70, 0xb16920 B _ZN19BrowseSmartKeyLayer20deletedSelectedItemsEv; BrowseSmartKeyLayer::deletedSelectedItems(void) ; +0x74, 0xb16924 MOV X0, X19; jumptable 0000000000B168FC case 1 ; +0x78, 0xb16928 LDR X19, [SP,#0x20+var_10] ; +0x7c, 0xb1692c LDP X29, X30, [SP+0x20+var_20],#0x20 ; +0x80, 0xb16930 B _ZN19BrowseSmartKeyLayer21createTemplateObjectsEv; BrowseSmartKeyLayer::createTemplateObjects(void) ; +0x84, 0xb16934 MOV X0, X19; jumptable 0000000000B168FC case 4 ; +0x88, 0xb16938 LDR X19, [SP,#0x20+var_10] ; +0x8c, 0xb1693c LDP X29, X30, [SP+0x20+var_20],#0x20 ; +0x90, 0xb16940 MOV W1, #0xA; int ; +0x94, 0xb16944 MOV W2, #0; bool ; +0x98, 0xb16948 B _ZN19BrowseSmartKeyLayer19addChanceToSelectedEib; BrowseSmartKeyLayer::addChanceToSelected(int,bool) ; +0x9c, 0xb1694c