; ; CurrencyRewardLayer::incrementStarsCount from 0x4d075c to 0x4d07dc (128 bytes) ; ; 1 xrefs: ; > CurrencyRewardLayer::update @ 0x4d0d14 ; ; 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 - 0x4D0764) ; +0x0, 0x4d075c PUSH {R4-R7,LR} ; +0x2, 0x4d075e ADD R3, PC; __stack_chk_guard_ptr ; +0x4, 0x4d0760 LDR R3, [R3]; __stack_chk_guard ; +0x6, 0x4d0762 SUB.W SP, SP, #0x20C ; +0x8, 0x4d0764 MOV R5, R0 ; +0xc, 0x4d0768 LDR R2, [R3] ; +0xe, 0x4d076a MOV R6, R3 ; +0x10, 0x4d076c STR R2, [SP,#0x20C+var_8] ; +0x12, 0x4d076e LDR.W R2, [R0,#0x148] ; +0x14, 0x4d0770 CBZ R2, loc_4D07CA ; +0x18, 0x4d0774 LDR.W R3, [R0,#0x180] ; +0x1a, 0x4d0776 ADD R4, SP, #0x20C+var_208 ; +0x1e, 0x4d077a ADD R1, R3 ; +0x20, 0x4d077c STR.W R1, [R0,#0x180] ; +0x22, 0x4d077e LDR.W R1, [R0,#0x160]; cocos2d::CCSprite * ; +0x26, 0x4d0782 BL _ZN19CurrencyRewardLayer11pulseSpriteEPN7cocos2d8CCSpriteE; CurrencyRewardLayer::pulseSprite(cocos2d::CCSprite *) ; +0x2a, 0x4d0786 MOV R0, R4 ; +0x2e, 0x4d078a LDR.W R1, [R5,#0x180] ; +0x30, 0x4d078c MOV.W R3, #0x1F4 ; +0x34, 0x4d0790 MOVS R2, #0 ; +0x38, 0x4d0794 STM.W R4, {R2,R3} ; +0x3a, 0x4d0796 ADD R3, SP, #0x20C+var_1FC ; +0x3e, 0x4d079a STR R3, [R4,#8] ; +0x40, 0x4d079c BL _ZN3fmt11BasicWriterIcElsEi; fmt::BasicWriter::operator<<(int) ; +0x42, 0x4d079e LDR.W R5, [R5,#0x148] ; +0x46, 0x4d07a2 MOV R0, R4 ; +0x4a, 0x4d07a6 LDR R3, [R5] ; +0x4c, 0x4d07a8 LDR.W R7, [R3,#0x1C8] ; +0x4e, 0x4d07aa BL _ZNK3fmt11BasicWriterIcE5c_strEv; fmt::BasicWriter::c_str(void) ; +0x52, 0x4d07ae MOV R1, R0 ; +0x56, 0x4d07b2 MOV R0, R5 ; +0x58, 0x4d07b4 BLX R7 ; +0x5a, 0x4d07b6 MOV R0, R4 ; +0x5c, 0x4d07b8 BL _ZN3fmt8internal5ArrayIcLj500EE4freeEv; fmt::internal::Array::free(void) ; +0x5e, 0x4d07ba B loc_4D07CA ; +0x62, 0x4d07be MOV R0, R4 ; +0x64, 0x4d07c0 BL _ZN3fmt8internal5ArrayIcLj500EE4freeEv; fmt::internal::Array::free(void) ; +0x66, 0x4d07c2 BL __cxa_end_cleanup ; +0x6a, 0x4d07c6 LDR R2, [SP,#0x20C+var_8] ; +0x6e, 0x4d07ca LDR R3, [R6] ; +0x70, 0x4d07cc CMP R2, R3 ; +0x72, 0x4d07ce BEQ loc_4D07D6 ; +0x74, 0x4d07d0 BLX __stack_chk_fail ; +0x76, 0x4d07d2 ADD.W SP, SP, #0x20C ; +0x7a, 0x4d07d6 POP {R4-R7,PC} ; +0x7e, 0x4d07da