; ; CCCounterLabel::updateCounter from 0x574aac to 0x574b38 (140 bytes) ; ; 3 xrefs: ; > @ 0x88e60 ; > CCCounterLabel::enableCounter @ 0x574890 ; > @ 0x122ca40 ; ; 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 ; LDRB W1, [X0,#0x1F0] ; +0x0, 0x574aac MOV X2, X0 ; +0x4, 0x574ab0 CBZ W1, locret_574B30 ; +0x8, 0x574ab4 LDR W1, [X0,#0x1EC] ; +0xc, 0x574ab8 LDR W3, [X0,#0x1E8] ; +0x10, 0x574abc CMP W1, W3 ; +0x14, 0x574ac0 B.LT loc_574AFC ; +0x18, 0x574ac4 B.LE loc_574B34 ; +0x1c, 0x574ac8 LDR W0, [X0,#0x1E4] ; +0x20, 0x574acc SUB W3, W3, W1 ; +0x24, 0x574ad0 SCVTF S0, W3 ; +0x28, 0x574ad4 SCVTF S1, W0 ; +0x2c, 0x574ad8 FCMPE S0, S1 ; +0x30, 0x574adc B.PL loc_574B14 ; +0x34, 0x574ae0 SCVTF S0, W1 ; +0x38, 0x574ae4 MOV X0, X2; this ; +0x3c, 0x574ae8 FADD S0, S0, S1 ; +0x40, 0x574aec FCVTZS W1, S0 ; +0x44, 0x574af0 STR W1, [X2,#0x1EC] ; +0x48, 0x574af4 B _ZN14CCCounterLabel12updateStringEv; CCCounterLabel::updateString(void) ; +0x4c, 0x574af8 LDR W0, [X0,#0x1E4] ; +0x50, 0x574afc SUB W3, W3, W1 ; +0x54, 0x574b00 SCVTF S0, W3 ; +0x58, 0x574b04 SCVTF S1, W0 ; +0x5c, 0x574b08 FCMPE S0, S1 ; +0x60, 0x574b0c B.GT loc_574AE4 ; +0x64, 0x574b10 FMOV S1, S0 ; +0x68, 0x574b14 MOV X0, X2; this ; +0x6c, 0x574b18 SCVTF S0, W1 ; +0x70, 0x574b1c FADD S0, S0, S1 ; +0x74, 0x574b20 FCVTZS W1, S0 ; +0x78, 0x574b24 STR W1, [X2,#0x1EC] ; +0x7c, 0x574b28 B _ZN14CCCounterLabel12updateStringEv; CCCounterLabel::updateString(void) ; +0x80, 0x574b2c RET ; +0x84, 0x574b30 B _ZN14CCCounterLabel14disableCounterEv; CCCounterLabel::disableCounter(void) ; +0x88, 0x574b34