; ; CurrencyRewardLayer::incrementDiamondsCount from 0x4d0864 to 0x4d08e4 (128 bytes) ; ; 1 xrefs: ; > CurrencyRewardLayer::update @ 0x4d0d34 ; ; 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 - 0x4D086C) ; +0x0, 0x4d0864 PUSH {R4-R7,LR} ; +0x2, 0x4d0866 ADD R3, PC; __stack_chk_guard_ptr ; +0x4, 0x4d0868 LDR R3, [R3]; __stack_chk_guard ; +0x6, 0x4d086a SUB.W SP, SP, #0x20C ; +0x8, 0x4d086c MOV R5, R0 ; +0xc, 0x4d0870 LDR R2, [R3] ; +0xe, 0x4d0872 MOV R6, R3 ; +0x10, 0x4d0874 STR R2, [SP,#0x20C+var_8] ; +0x12, 0x4d0876 LDR.W R2, [R0,#0x150] ; +0x14, 0x4d0878 CBZ R2, loc_4D08D2 ; +0x18, 0x4d087c LDR.W R3, [R0,#0x188] ; +0x1a, 0x4d087e ADD R4, SP, #0x20C+var_208 ; +0x1e, 0x4d0882 ADD R1, R3 ; +0x20, 0x4d0884 STR.W R1, [R0,#0x188] ; +0x22, 0x4d0886 LDR.W R1, [R0,#0x168]; cocos2d::CCSprite * ; +0x26, 0x4d088a BL _ZN19CurrencyRewardLayer11pulseSpriteEPN7cocos2d8CCSpriteE; CurrencyRewardLayer::pulseSprite(cocos2d::CCSprite *) ; +0x2a, 0x4d088e MOV R0, R4 ; +0x2e, 0x4d0892 LDR.W R1, [R5,#0x188] ; +0x30, 0x4d0894 MOV.W R3, #0x1F4 ; +0x34, 0x4d0898 MOVS R2, #0 ; +0x38, 0x4d089c STM.W R4, {R2,R3} ; +0x3a, 0x4d089e ADD R3, SP, #0x20C+var_1FC ; +0x3e, 0x4d08a2 STR R3, [R4,#8] ; +0x40, 0x4d08a4 BL _ZN3fmt11BasicWriterIcElsEi; fmt::BasicWriter::operator<<(int) ; +0x42, 0x4d08a6 LDR.W R5, [R5,#0x150] ; +0x46, 0x4d08aa MOV R0, R4 ; +0x4a, 0x4d08ae LDR R3, [R5] ; +0x4c, 0x4d08b0 LDR.W R7, [R3,#0x1C8] ; +0x4e, 0x4d08b2 BL _ZNK3fmt11BasicWriterIcE5c_strEv; fmt::BasicWriter::c_str(void) ; +0x52, 0x4d08b6 MOV R1, R0 ; +0x56, 0x4d08ba MOV R0, R5 ; +0x58, 0x4d08bc BLX R7 ; +0x5a, 0x4d08be MOV R0, R4 ; +0x5c, 0x4d08c0 BL _ZN3fmt8internal5ArrayIcLj500EE4freeEv; fmt::internal::Array::free(void) ; +0x5e, 0x4d08c2 B loc_4D08D2 ; +0x62, 0x4d08c6 MOV R0, R4 ; +0x64, 0x4d08c8 BL _ZN3fmt8internal5ArrayIcLj500EE4freeEv; fmt::internal::Array::free(void) ; +0x66, 0x4d08ca BL __cxa_end_cleanup ; +0x6a, 0x4d08ce LDR R2, [SP,#0x20C+var_8] ; +0x6e, 0x4d08d2 LDR R3, [R6] ; +0x70, 0x4d08d4 CMP R2, R3 ; +0x72, 0x4d08d6 BEQ loc_4D08DE ; +0x74, 0x4d08d8 BLX __stack_chk_fail ; +0x76, 0x4d08da ADD.W SP, SP, #0x20C ; +0x7a, 0x4d08de POP {R4-R7,PC} ; +0x7e, 0x4d08e2