; ; CurrencyRewardLayer::incrementMoonsCount from 0x4d07e0 to 0x4d0860 (128 bytes) ; ; 1 xrefs: ; > CurrencyRewardLayer::update @ 0x4d0d24 ; ; 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 R3, =(__stack_chk_guard_ptr - 0x4D07E8) ; +0x0, 0x4d07e0 PUSH {R4-R7,LR} ; +0x2, 0x4d07e2 ADD R3, PC; __stack_chk_guard_ptr ; +0x4, 0x4d07e4 LDR R3, [R3]; __stack_chk_guard ; +0x6, 0x4d07e6 SUB.W SP, SP, #0x20C ; +0x8, 0x4d07e8 MOV R5, R0 ; +0xc, 0x4d07ec LDR R2, [R3] ; +0xe, 0x4d07ee MOV R6, R3 ; +0x10, 0x4d07f0 STR R2, [SP,#0x20C+var_8] ; +0x12, 0x4d07f2 LDR.W R2, [R0,#0x14C] ; +0x14, 0x4d07f4 CBZ R2, loc_4D084E ; +0x18, 0x4d07f8 LDR.W R3, [R0,#0x184] ; +0x1a, 0x4d07fa ADD R4, SP, #0x20C+var_208 ; +0x1e, 0x4d07fe ADD R1, R3 ; +0x20, 0x4d0800 STR.W R1, [R0,#0x184] ; +0x22, 0x4d0802 LDR.W R1, [R0,#0x164]; cocos2d::CCSprite * ; +0x26, 0x4d0806 BL _ZN19CurrencyRewardLayer11pulseSpriteEPN7cocos2d8CCSpriteE; CurrencyRewardLayer::pulseSprite(cocos2d::CCSprite *) ; +0x2a, 0x4d080a MOV R0, R4 ; +0x2e, 0x4d080e LDR.W R1, [R5,#0x184] ; +0x30, 0x4d0810 MOV.W R3, #0x1F4 ; +0x34, 0x4d0814 MOVS R2, #0 ; +0x38, 0x4d0818 STM.W R4, {R2,R3} ; +0x3a, 0x4d081a ADD R3, SP, #0x20C+var_1FC ; +0x3e, 0x4d081e STR R3, [R4,#8] ; +0x40, 0x4d0820 BL _ZN3fmt11BasicWriterIcElsEi; fmt::BasicWriter::operator<<(int) ; +0x42, 0x4d0822 LDR.W R5, [R5,#0x14C] ; +0x46, 0x4d0826 MOV R0, R4 ; +0x4a, 0x4d082a LDR R3, [R5] ; +0x4c, 0x4d082c LDR.W R7, [R3,#0x1C8] ; +0x4e, 0x4d082e BL _ZNK3fmt11BasicWriterIcE5c_strEv; fmt::BasicWriter::c_str(void) ; +0x52, 0x4d0832 MOV R1, R0 ; +0x56, 0x4d0836 MOV R0, R5 ; +0x58, 0x4d0838 BLX R7 ; +0x5a, 0x4d083a MOV R0, R4 ; +0x5c, 0x4d083c BL _ZN3fmt8internal5ArrayIcLj500EE4freeEv; fmt::internal::Array::free(void) ; +0x5e, 0x4d083e B loc_4D084E ; +0x62, 0x4d0842 MOV R0, R4 ; +0x64, 0x4d0844 BL _ZN3fmt8internal5ArrayIcLj500EE4freeEv; fmt::internal::Array::free(void) ; +0x66, 0x4d0846 BL __cxa_end_cleanup ; +0x6a, 0x4d084a LDR R2, [SP,#0x20C+var_8] ; +0x6e, 0x4d084e LDR R3, [R6] ; +0x70, 0x4d0850 CMP R2, R3 ; +0x72, 0x4d0852 BEQ loc_4D085A ; +0x74, 0x4d0854 BLX __stack_chk_fail ; +0x76, 0x4d0856 ADD.W SP, SP, #0x20C ; +0x7a, 0x4d085a POP {R4-R7,PC} ; +0x7e, 0x4d085e