; ; CurrencyRewardLayer::createObjects from 0x4d218c to 0x4d21d0 (68 bytes) ; ; 7 xrefs: ; > ChallengesPage::claimItem @ 0x4cd0fc ; > CurrencyRewardLayer::init @ 0x4d357e ; > CurrencyRewardLayer::init @ 0x4d35aa ; > CurrencyRewardLayer::init @ 0x4d35d6 ; > CurrencyRewardLayer::init @ 0x4d3602 ; > CurrencyRewardLayer::init @ 0x4d3658 ; > CurrencyRewardLayer::init @ 0x4d3676 ; ; 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 ; PUSH.W {R4-R8,LR} ; +0x0, 0x4d218c SUB SP, SP, #0x18 ; +0x4, 0x4d2190 LDR R4, =(__stack_chk_guard_ptr - 0x4D219E) ; +0x6, 0x4d2192 MOV R6, R2 ; +0x8, 0x4d2194 ADD R5, SP, #0x18+var_C ; +0xa, 0x4d2196 MOV R8, R0 ; +0xc, 0x4d2198 ADD R4, PC; __stack_chk_guard_ptr ; +0xe, 0x4d219a LDR R4, [R4]; __stack_chk_guard ; +0x10, 0x4d219c MOV R7, R1 ; +0x12, 0x4d219e MOV R0, R5; this ; +0x14, 0x4d21a0 MOV R1, R3; cocos2d::CCPoint * ; +0x16, 0x4d21a2 LDR R2, [R4] ; +0x18, 0x4d21a4 STR R2, [SP,#0x18+var_4] ; +0x1a, 0x4d21a6 BL _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x1c, 0x4d21a8 LDR R3, [SP,#0x18+arg_0] ; +0x20, 0x4d21ac MOV R2, R6; int ; +0x22, 0x4d21ae STR R5, [SP,#0x18+var_18]; int ; +0x24, 0x4d21b0 MOV R0, R8; int ; +0x26, 0x4d21b2 MOV R1, R7; int ; +0x28, 0x4d21b4 STR R3, [SP,#0x18+var_14]; float ; +0x2a, 0x4d21b6 MOVS R3, #0; bool ; +0x2c, 0x4d21b8 BL _ZN19CurrencyRewardLayer17createObjectsFullE18CurrencySpriteTypeiPN7cocos2d8CCSpriteENS1_7CCPointEf; CurrencyRewardLayer::createObjectsFull(CurrencySpriteType,int,cocos2d::CCSprite *,cocos2d::CCPoint,float) ; +0x2e, 0x4d21ba LDR R2, [SP,#0x18+var_4] ; +0x32, 0x4d21be LDR R3, [R4] ; +0x34, 0x4d21c0 CMP R2, R3 ; +0x36, 0x4d21c2 BEQ loc_4D21CA ; +0x38, 0x4d21c4 BLX __stack_chk_fail ; +0x3a, 0x4d21c6 ADD SP, SP, #0x18 ; +0x3e, 0x4d21ca POP.W {R4-R8,PC} ; +0x40, 0x4d21cc