; ; sub_65A10 from 0x65a10 to 0x65a6c (92 bytes) ; ; 14 xrefs: ; > sub_658D4 @ 0x659dc ; > sub_6B7B8 @ 0x6b854 ; > sub_6B8F0 @ 0x6b9fc ; > sub_6C64C @ 0x6c92c ; > sub_6C64C @ 0x6c9b8 ; > sub_6C64C @ 0x6ca60 ; > sub_6F158 @ 0x6f328 ; > sub_76B04 @ 0x76bf0 ; > sub_7AB28 @ 0x7ab90 ; > sub_7F380 @ 0x7f4c0 ; > sub_7F910 @ 0x7f9ac ; > sub_C7E34 @ 0xc7e78 ; > sub_C941C @ 0xc9454 ; > sub_C974C @ 0xc9828 ; ; 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 12:13:55 +0000 ; SUB W9, W0, #2; switch 7 cases ; +0x0, 0x65a10 MOV W8, W0 ; +0x4, 0x65a14 CMP W9, #6 ; +0x8, 0x65a18 B.HI def_65A38; jumptable 0000000000065A38 default case ; +0xc, 0x65a1c ADRL X10, jpt_65A38 ; +0x10, 0x65a20 ADR X11, loc_65A3C; jumptable 0000000000065A38 cases 4-6 ; +0x18, 0x65a28 LDRB W12, [X10,X9] ; +0x1c, 0x65a2c ADD X11, X11, X12,LSL#2 ; +0x20, 0x65a30 MOV W0, #1 ; +0x24, 0x65a34 BR X11; switch jump ; +0x28, 0x65a38 MOV W0, W8; jumptable 0000000000065A38 cases 4-6 ; +0x2c, 0x65a3c RET ; +0x30, 0x65a40 CMP W8, #0x3E8; jumptable 0000000000065A38 default case ; +0x34, 0x65a44 B.NE loc_65A64 ; +0x38, 0x65a48 MOV W0, #2; jumptable 0000000000065A38 case 3 ; +0x3c, 0x65a4c RET ; +0x40, 0x65a50 MOV W0, #8; jumptable 0000000000065A38 case 7 ; +0x44, 0x65a54 RET ; +0x48, 0x65a58 MOV W0, #0xC; jumptable 0000000000065A38 case 8 ; +0x4c, 0x65a5c RET ; +0x50, 0x65a60 MOV W0, WZR ; +0x54, 0x65a64 RET; jumptable 0000000000065A38 case 2 ; +0x58, 0x65a68