; ; AutoSaveSettingsLayer::getValue from 0x1001681c0 to 0x1001682a8 (232 bytes) ; ; 1 xrefs: ; > @ 0x1008e3cc8 ; ; 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 10:59:49 +0000 ; STP X29, X30, [SP,#-0x10+var_s0]! ; +0x0, 0x1001681c0 MOV X29, SP ; +0x4, 0x1001681c4 CMN W1, #3 ; +0x8, 0x1001681c8 B.GT loc_1001681F0 ; +0xc, 0x1001681cc CMN W1, #4 ; +0x10, 0x1001681d0 B.EQ loc_10016822C ; +0x14, 0x1001681d4 CMN W1, #3 ; +0x18, 0x1001681d8 B.NE loc_100168224 ; +0x1c, 0x1001681dc BL GameManager__sharedState ; +0x20, 0x1001681e0 ADRL X1, a0186; "0186" ; +0x24, 0x1001681e4 B loc_10016820C ; +0x2c, 0x1001681ec CMN W1, #2 ; +0x30, 0x1001681f0 B.EQ loc_100168264 ; +0x34, 0x1001681f4 CMN W1, #1 ; +0x38, 0x1001681f8 B.NE loc_100168224 ; +0x3c, 0x1001681fc BL GameManager__sharedState ; +0x40, 0x100168200 ADRL X1, a0184; "0184" ; +0x44, 0x100168204 BL GameManager__getGameVariable ; +0x4c, 0x10016820c CMP W0, #0 ; +0x50, 0x100168210 FMOV S0, WZR ; +0x54, 0x100168214 FMOV S1, #1.0 ; +0x58, 0x100168218 FCSEL S0, S1, S0, NE ; +0x5c, 0x10016821c B loc_1001682A0 ; +0x60, 0x100168220 LDP X29, X30, [SP+var_s0],#0x10 ; +0x64, 0x100168224 B SetupTriggerPopup__getValue ; +0x68, 0x100168228 BL GameManager__sharedState ; +0x6c, 0x10016822c ADRL X1, a0187; "0187" ; +0x70, 0x100168230 BL GameManager__getIntGameVariable ; +0x78, 0x100168238 MOV W8, #0x88888889 ; +0x7c, 0x10016823c SMULL X8, W0, W8 ; +0x84, 0x100168244 LSR X8, X8, #0x20 ; ' ' ; +0x88, 0x100168248 ADD W8, W8, W0 ; +0x8c, 0x10016824c ASR W9, W8, #5 ; +0x90, 0x100168250 ADD W8, W9, W8,LSR#31 ; +0x94, 0x100168254 CMP W0, #1 ; +0x98, 0x100168258 MOV W9, #0x3C ; '<' ; +0x9c, 0x10016825c B loc_100168298 ; +0xa0, 0x100168260 BL GameManager__sharedState ; +0xa4, 0x100168264 ADRL X1, a0185; "0185" ; +0xa8, 0x100168268 BL GameManager__getIntGameVariable ; +0xb0, 0x100168270 MOV W8, #0x88888889 ; +0xb4, 0x100168274 SMULL X8, W0, W8 ; +0xbc, 0x10016827c LSR X8, X8, #0x20 ; ' ' ; +0xc0, 0x100168280 ADD W8, W8, W0 ; +0xc4, 0x100168284 ASR W9, W8, #5 ; +0xc8, 0x100168288 ADD W8, W9, W8,LSR#31 ; +0xcc, 0x10016828c CMP W0, #1 ; +0xd0, 0x100168290 MOV W9, #5 ; +0xd4, 0x100168294 CSEL W8, W9, W8, LT ; +0xd8, 0x100168298 SCVTF S0, W8 ; +0xdc, 0x10016829c LDP X29, X30, [SP+var_s0],#0x10 ; +0xe0, 0x1001682a0 RET ; +0xe4, 0x1001682a4