; ; sub_651F4 from 0x651f4 to 0x65240 (76 bytes) ; ; 5 xrefs: ; > sub_651BC @ 0x651d0 ; > sub_656C4 @ 0x65720 ; > sub_856E0 @ 0x8573c ; > sub_85A40 @ 0x85a9c ; > sub_C2CA0 @ 0xc2cfc ; ; 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 ; STP X20, X19, [SP,#-0x10+var_10]! ; +0x0, 0x651f4 STP X29, X30, [SP,#0x10+var_s0] ; +0x4, 0x651f8 LDR W8, [X0,#0xC] ; +0x8, 0x651fc MOV W19, W1 ; +0xc, 0x65200 MOV X20, X0 ; +0x10, 0x65204 ADD X29, SP, #0x10 ; +0x14, 0x65208 CMP W8, #0 ; +0x18, 0x6520c CNEG W8, W8, MI ; +0x1c, 0x65210 CMP W8, W1 ; +0x20, 0x65214 B.GE loc_6522C ; +0x24, 0x65218 MOV X0, X20 ; +0x28, 0x6521c MOV W1, W19 ; +0x2c, 0x65220 BL sub_65270 ; +0x30, 0x65224 CBNZ W0, loc_65234 ; +0x34, 0x65228 MOV W0, WZR ; +0x38, 0x6522c STR W19, [X20,#8] ; +0x3c, 0x65230 LDP X29, X30, [SP,#0x10+var_s0] ; +0x40, 0x65234 LDP X20, X19, [SP+0x10+var_10],#0x20 ; +0x44, 0x65238 RET ; +0x48, 0x6523c