; ; CCCounterLabel::setTargetCount from 0x10003abe4 to 0x10003ac54 (112 bytes) ; ; 2 xrefs: ; > GJShopLayer::updateCurrencyCounter @ 0x10014c044 ; > GJShopLayer::didPurchaseItem @ 0x10014c4d0 ; ; 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 ; LDR W8, [X0,#0x214] ; +0x0, 0x10003abe4 SCVTF S0, W1 ; +0x4, 0x10003abe8 LDR S1, [X0,#0x20C] ; +0x8, 0x10003abec SCVTF S1, S1 ; +0xc, 0x10003abf0 FABD S2, S0, S1 ; +0x10, 0x10003abf4 SCVTF S3, W8 ; +0x14, 0x10003abf8 FCMP S2, S3 ; +0x18, 0x10003abfc STR W1, [X0,#0x208] ; +0x1c, 0x10003ac00 FCVTZS W9, S2 ; +0x20, 0x10003ac04 CSEL W8, W9, W8, MI ; +0x24, 0x10003ac08 SCVTF S2, W8 ; +0x28, 0x10003ac0c FSUB S0, S0, S1 ; +0x2c, 0x10003ac10 FDIV S0, S0, S2 ; +0x30, 0x10003ac14 FCVTZS W8, S0 ; +0x34, 0x10003ac18 STR W8, [X0,#0x204] ; +0x38, 0x10003ac1c LDRB W8, [X0,#0x210] ; +0x3c, 0x10003ac20 TBNZ W8, #0, locret_10003AC38 ; +0x40, 0x10003ac24 MOV W8, #1 ; +0x44, 0x10003ac28 STRB W8, [X0,#0x210] ; +0x48, 0x10003ac2c LDRB W8, [X0,#0x218] ; +0x4c, 0x10003ac30 TBZ W8, #0, loc_10003AC3C ; +0x50, 0x10003ac34 RET ; +0x54, 0x10003ac38 ADRL X1, CCCounterLabel__updateCounter ; +0x58, 0x10003ac3c ADRP X8, #dword_100635910@PAGE ; +0x60, 0x10003ac44 LDR S0, [X8,#dword_100635910@PAGEOFF] ; +0x64, 0x10003ac48 MOV X2, #0 ; +0x68, 0x10003ac4c B cocos2d__CCNode__schedule ; +0x6c, 0x10003ac50