; ; CurrencyRewardLayer::incrementMoonsCount from 0xa688b8 to 0xa689e8 (304 bytes) ; ; 2 xrefs: ; > CurrencyRewardLayer::update @ 0xa69380 ; > @ 0xa05a0 ; ; 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 13:00:18 +0000 ; SUB SP, SP, #0x220 ; +0x0, 0xa688b8 MOV W2, W1 ; +0x4, 0xa688bc STP X29, X30, [SP,#0x220+var_260]! ; +0x8, 0xa688c0 MOV X29, SP ; +0xc, 0xa688c4 STP X21, X22, [SP,#0x260+var_240] ; +0x10, 0xa688c8 ADRP X21, #__stack_chk_guard_ptr@PAGE ; +0x14, 0xa688cc STR X23, [SP,#0x260+var_230] ; +0x18, 0xa688d0 STP X19, X20, [SP,#0x260+var_250] ; +0x1c, 0xa688d4 MOV X20, X0 ; +0x20, 0xa688d8 LDR X3, [X21,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x24, 0xa688dc LDR X1, [X0,#0x1B8] ; +0x28, 0xa688e0 LDR X3, [X3] ; +0x2c, 0xa688e4 STR X3, [X29,#0x260+var_8] ; +0x30, 0xa688e8 CBZ X1, loc_A68984 ; +0x34, 0xa688ec LDR W3, [X0,#0x220] ; +0x38, 0xa688f0 ADD X19, X29, #0x260+var_218 ; +0x3c, 0xa688f4 LDR X1, [X0,#0x1E8]; cocos2d::CCSprite * ; +0x40, 0xa688f8 ADD W2, W3, W2 ; +0x44, 0xa688fc STR W2, [X0,#0x220] ; +0x48, 0xa68900 BL _ZN19CurrencyRewardLayer11pulseSpriteEPN7cocos2d8CCSpriteE; CurrencyRewardLayer::pulseSprite(cocos2d::CCSprite *) ; +0x4c, 0xa68904 STR XZR, [X19] ; +0x50, 0xa68908 LDR W4, [X20,#0x220] ; +0x54, 0xa6890c ADD X3, X29, #0x260+var_220 ; +0x58, 0xa68910 ADD X5, X19, #0x18 ; +0x5c, 0xa68914 MOV X6, #0x1F4 ; +0x60, 0xa68918 MOV X0, X19 ; +0x64, 0xa6891c MOV W1, W4 ; +0x68, 0xa68920 MOV X2, X3 ; +0x6c, 0xa68924 STR X6, [X19,#8] ; +0x70, 0xa68928 STR X5, [X19,#0x10] ; +0x74, 0xa6892c STR W4, [X29,#0x260+var_220] ; +0x78, 0xa68930 BL _ZN3fmt11BasicWriterIcE9FormatIntIiNS_13IntFormatSpecIiNS_8TypeSpecILc0EEEcEEEEvT_RKT0_; fmt::BasicWriter::FormatInt,char>>(int,fmt::IntFormatSpec,char> const&) ; +0x7c, 0xa68934 LDR X22, [X20,#0x1B8] ; +0x80, 0xa68938 LDR X20, [X19] ; +0x84, 0xa6893c LDR X2, [X19,#8] ; +0x88, 0xa68940 LDR X0, [X22] ; +0x8c, 0xa68944 ADD X1, X20, #1 ; +0x90, 0xa68948 CMP X1, X2 ; +0x94, 0xa6894c LDR X23, [X0,#0x3A0] ; +0x98, 0xa68950 B.HI loc_A689B0 ; +0x9c, 0xa68954 LDR X1, [X19,#0x10] ; +0xa0, 0xa68958 MOV X0, X22 ; +0xa4, 0xa6895c STRB WZR, [X1,X20] ; +0xa8, 0xa68960 LDR X1, [X19,#0x10] ; +0xac, 0xa68964 BLR X23 ; +0xb0, 0xa68968 LDR X0, [X19,#0x10]; void * ; +0xb4, 0xa6896c ADD X19, X19, #0x18 ; +0xb8, 0xa68970 CMP X0, X19 ; +0xbc, 0xa68974 B.EQ loc_A68984 ; +0xc0, 0xa68978 CBZ X0, loc_A68984 ; +0xc4, 0xa6897c BL _ZdaPv; operator delete[](void *) ; +0xc8, 0xa68980 LDR X21, [X21,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0xcc, 0xa68984 LDR X1, [X29,#0x260+var_8] ; +0xd0, 0xa68988 LDR X0, [X21] ; +0xd4, 0xa6898c CMP X1, X0 ; +0xd8, 0xa68990 B.NE loc_A689BC ; +0xdc, 0xa68994 LDP X19, X20, [SP,#0x260+var_250] ; +0xe0, 0xa68998 LDP X21, X22, [SP,#0x260+var_240] ; +0xe4, 0xa6899c LDR X23, [SP,#0x260+var_230] ; +0xe8, 0xa689a0 LDP X29, X30, [SP+0x260+var_260],#0x40 ; +0xec, 0xa689a4 ADD SP, SP, #0x220 ; +0xf0, 0xa689a8 RET ; +0xf4, 0xa689ac MOV X0, X19 ; +0xf8, 0xa689b0 BL _ZN3fmt8internal5ArrayIcLm500EE4growEm; fmt::internal::Array::grow(ulong) ; +0xfc, 0xa689b4 B loc_A68958 ; +0x100, 0xa689b8 BL .__stack_chk_fail ; +0x104, 0xa689bc LDR X1, [X19,#0x10] ; +0x108, 0xa689c0 ADD X19, X19, #0x18 ; +0x10c, 0xa689c4 MOV X20, X0 ; +0x110, 0xa689c8 CMP X1, X19 ; +0x114, 0xa689cc B.EQ loc_A689E0 ; +0x118, 0xa689d0 CBZ X1, loc_A689E0 ; +0x11c, 0xa689d4 MOV X0, X1; void * ; +0x120, 0xa689d8 BL _ZdaPv; operator delete[](void *) ; +0x124, 0xa689dc MOV X0, X20 ; +0x128, 0xa689e0 BL _Unwind_Resume ; +0x12c, 0xa689e4