; ; AnimatedShopKeeper::create from 0x4e2cb0 to 0x4e2d54 (164 bytes) ; ; 1 xrefs: ; > GJShopLayer::init @ 0x4e3330 ; ; 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 {R3-R5,LR} ; +0x0, 0x4e2cb0 MOV R5, R0 ; +0x2, 0x4e2cb2 MOV.W R0, #0x238; unsigned int ; +0x4, 0x4e2cb4 BL _Znwj; operator new(uint) ; +0x8, 0x4e2cb8 MOV R4, R0 ; +0xc, 0x4e2cbc BL _ZN7cocos2d8CCSpriteC2Ev; cocos2d::CCSprite::CCSprite(void) ; +0xe, 0x4e2cbe LDR R2, =(off_AB5BA0 - 0x4E2CD0) ; +0x12, 0x4e2cc2 MOVS R3, #0 ; +0x14, 0x4e2cc4 MOV R0, R4; this ; +0x16, 0x4e2cc6 STR.W R3, [R4,#0x204] ; +0x18, 0x4e2cc8 ADD R2, PC; off_AB5BA0 ; +0x1c, 0x4e2ccc LDR R2, [R2]; dword_ACDD9C ; +0x1e, 0x4e2cce STR.W R3, [R4,#0x208] ; +0x20, 0x4e2cd0 ADDS R2, #0xC ; +0x24, 0x4e2cd4 STR.W R2, [R4,#0x1FC] ; +0x26, 0x4e2cd6 STR.W R2, [R4,#0x200] ; +0x2a, 0x4e2cda STR.W R2, [R4,#0x218] ; +0x2e, 0x4e2cde LDR R2, =(_ZTV18AnimatedShopKeeper_ptr - 0x4E2CEC) ; +0x32, 0x4e2ce2 STR.W R3, [R4,#0x20C] ; +0x34, 0x4e2ce4 ADD R2, PC; _ZTV18AnimatedShopKeeper_ptr ; +0x38, 0x4e2ce8 LDR R2, [R2]; `vtable for'AnimatedShopKeeper ... ; +0x3a, 0x4e2cea STR.W R3, [R4,#0x210] ; +0x3c, 0x4e2cec ADD.W R1, R2, #8 ; +0x40, 0x4e2cf0 STR.W R3, [R4,#0x214] ; +0x44, 0x4e2cf4 STR R1, [R4] ; +0x48, 0x4e2cf8 ADD.W R1, R2, #0x27C ; +0x4a, 0x4e2cfa STR.W R3, [R4,#0x21C] ; +0x4e, 0x4e2cfe ADD.W R2, R2, #0x2BC ; +0x52, 0x4e2d02 STR.W R1, [R4,#0x108] ; +0x56, 0x4e2d06 MOV R1, R5 ; +0x5a, 0x4e2d0a STR.W R2, [R4,#0x118] ; +0x5c, 0x4e2d0c STR.W R3, [R4,#0x220] ; +0x60, 0x4e2d10 STR.W R3, [R4,#0x224] ; +0x64, 0x4e2d14 STR.W R3, [R4,#0x228] ; +0x68, 0x4e2d18 STRB.W R3, [R4,#0x22C] ; +0x6c, 0x4e2d1c STRB.W R3, [R4,#0x22D] ; +0x70, 0x4e2d20 STR.W R3, [R4,#0x230] ; +0x74, 0x4e2d24 STR.W R3, [R4,#0x234] ; +0x78, 0x4e2d28 BL _ZN18AnimatedShopKeeper4initE8ShopType; AnimatedShopKeeper::init(ShopType) ; +0x7c, 0x4e2d2c MOV R5, R0 ; +0x80, 0x4e2d30 CBZ R0, loc_4E2D46 ; +0x82, 0x4e2d32 MOV R0, R4; this ; +0x84, 0x4e2d34 BL _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0x86, 0x4e2d36 B loc_4E2D50 ; +0x8a, 0x4e2d3a MOV R0, R4; p ; +0x8c, 0x4e2d3c BL _ZdlPv; operator delete(void *) ; +0x8e, 0x4e2d3e BL __cxa_end_cleanup ; +0x92, 0x4e2d42 LDR R3, [R4] ; +0x96, 0x4e2d46 MOV R0, R4 ; +0x98, 0x4e2d48 MOV R4, R5 ; +0x9a, 0x4e2d4a LDR R3, [R3,#8] ; +0x9c, 0x4e2d4c BLX R3 ; +0x9e, 0x4e2d4e MOV R0, R4 ; +0xa0, 0x4e2d50 POP {R3-R5,PC} ; +0xa2, 0x4e2d52