; ; CurrencySprite::create from 0x4d16d0 to 0x4d1712 (66 bytes) ; ; 3 xrefs: ; > CurrencyRewardLayer::createObjectsFull @ 0x4d1b10 ; > CurrencyRewardLayer::init @ 0x4d31d6 ; > CurrencyRewardLayer::init @ 0x4d3416 ; ; 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 {R4-R6,LR} ; +0x0, 0x4d16d0 MOV R6, R0 ; +0x2, 0x4d16d2 MOV.W R0, #0x230; unsigned int ; +0x4, 0x4d16d4 MOV R5, R1 ; +0x8, 0x4d16d8 BL _Znwj; operator new(uint) ; +0xa, 0x4d16da MOV R4, R0 ; +0xe, 0x4d16de BL _ZN14CurrencySpriteC2Ev; CurrencySprite::CurrencySprite(void) ; +0x10, 0x4d16e0 MOV R2, R5 ; +0x14, 0x4d16e4 MOV R0, R4 ; +0x16, 0x4d16e6 MOV R1, R6 ; +0x18, 0x4d16e8 BL _ZN14CurrencySprite4initE18CurrencySpriteTypeb; CurrencySprite::init(CurrencySpriteType,bool) ; +0x1a, 0x4d16ea MOV R5, R0 ; +0x1e, 0x4d16ee CBZ R0, loc_4D1704 ; +0x20, 0x4d16f0 MOV R0, R4; this ; +0x22, 0x4d16f2 BL _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0x24, 0x4d16f4 B loc_4D170E ; +0x28, 0x4d16f8 MOV R0, R4; p ; +0x2a, 0x4d16fa BL _ZdlPv; operator delete(void *) ; +0x2c, 0x4d16fc BL __cxa_end_cleanup ; +0x30, 0x4d1700 LDR R3, [R4] ; +0x34, 0x4d1704 MOV R0, R4 ; +0x36, 0x4d1706 MOV R4, R5 ; +0x38, 0x4d1708 LDR R3, [R3,#8] ; +0x3a, 0x4d170a BLX R3 ; +0x3c, 0x4d170c MOV R0, R4 ; +0x3e, 0x4d170e POP {R4-R6,PC} ; +0x40, 0x4d1710