; ; CurrencyRewardLayer::createUnlockObject from 0x4d2144 to 0x4d2188 (68 bytes) ; ; 2 xrefs: ; > GJGarageLayer::dialogClosed @ 0x404bfe ; > RewardUnlockLayer::playRewardEffect @ 0x4e9576 ; ; 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, 0x4d2144 SUB SP, SP, #0x18 ; +0x4, 0x4d2148 LDR R4, =(__stack_chk_guard_ptr - 0x4D2156) ; +0x6, 0x4d214a MOV R8, R3 ; +0x8, 0x4d214c ADD R5, SP, #0x18+var_C ; +0xa, 0x4d214e MOV R7, R0 ; +0xc, 0x4d2150 ADD R4, PC; __stack_chk_guard_ptr ; +0xe, 0x4d2152 LDR R4, [R4]; __stack_chk_guard ; +0x10, 0x4d2154 MOV R6, R1 ; +0x12, 0x4d2156 MOV R0, R5; this ; +0x14, 0x4d2158 MOV R1, R2; cocos2d::CCPoint * ; +0x16, 0x4d215a LDR R3, [R4] ; +0x18, 0x4d215c STR R3, [SP,#0x18+var_4] ; +0x1a, 0x4d215e BL _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x1c, 0x4d2160 MOVS R2, #1; int ; +0x20, 0x4d2164 MOV R3, R6; bool ; +0x22, 0x4d2166 STR R5, [SP,#0x18+var_18]; int ; +0x24, 0x4d2168 MOV R0, R7; int ; +0x26, 0x4d216a STR.W R8, [SP,#0x18+var_14]; float ; +0x28, 0x4d216c MOVS R1, #0; int ; +0x2c, 0x4d2170 BL _ZN19CurrencyRewardLayer17createObjectsFullE18CurrencySpriteTypeiPN7cocos2d8CCSpriteENS1_7CCPointEf; CurrencyRewardLayer::createObjectsFull(CurrencySpriteType,int,cocos2d::CCSprite *,cocos2d::CCPoint,float) ; +0x2e, 0x4d2172 LDR R2, [SP,#0x18+var_4] ; +0x32, 0x4d2176 LDR R3, [R4] ; +0x34, 0x4d2178 CMP R2, R3 ; +0x36, 0x4d217a BEQ loc_4D2182 ; +0x38, 0x4d217c BLX __stack_chk_fail ; +0x3a, 0x4d217e ADD SP, SP, #0x18 ; +0x3e, 0x4d2182 POP.W {R4-R8,PC} ; +0x40, 0x4d2184