; ; ButtonSprite::ButtonSprite from 0x2e3020 to 0x2e3090 (112 bytes) ; ; 2 xrefs: ; > ButtonSprite::create @ 0x2e35b8 ; > ButtonSprite::create @ 0x2e3b98 ; ; 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,LR} ; +0x0, 0x2e3020 MOV R4, R0 ; +0x2, 0x2e3022 BL _ZN7cocos2d8CCSpriteC2Ev; cocos2d::CCSprite::CCSprite(void) ; +0x4, 0x2e3024 LDR R3, =(_ZTV12ButtonSprite_ptr - 0x2E3032) ; +0x8, 0x2e3028 ADD.W R0, R4, #0x224; this ; +0xa, 0x2e302a ADD R3, PC; _ZTV12ButtonSprite_ptr ; +0xe, 0x2e302e LDR R3, [R3]; `vtable for'ButtonSprite ... ; +0x10, 0x2e3030 ADD.W R2, R3, #8 ; +0x12, 0x2e3032 STR R2, [R4] ; +0x16, 0x2e3036 ADD.W R2, R3, #0x274 ; +0x18, 0x2e3038 ADD.W R3, R3, #0x2B4 ; +0x1c, 0x2e303c STR.W R2, [R4,#0x108] ; +0x20, 0x2e3040 MOVS R2, #0 ; +0x24, 0x2e3044 STR.W R3, [R4,#0x118] ; +0x26, 0x2e3046 MOVS R3, #0 ; +0x2a, 0x2e304a STR.W R2, [R4,#0x200] ; +0x2c, 0x2e304c STR.W R3, [R4,#0x1FC] ; +0x30, 0x2e3050 STR.W R2, [R4,#0x204] ; +0x34, 0x2e3054 STR.W R2, [R4,#0x208] ; +0x38, 0x2e3058 STR.W R2, [R4,#0x20C] ; +0x3c, 0x2e305c STRB.W R3, [R4,#0x210] ; +0x40, 0x2e3060 STR.W R3, [R4,#0x214] ; +0x44, 0x2e3064 STR.W R3, [R4,#0x218] ; +0x48, 0x2e3068 STR.W R3, [R4,#0x21C] ; +0x4c, 0x2e306c STR.W R3, [R4,#0x220] ; +0x50, 0x2e3070 BL _ZN7cocos2d7CCPointC1Ev; cocos2d::CCPoint::CCPoint(void) ; +0x54, 0x2e3074 ADD.W R0, R4, #0x22C; this ; +0x58, 0x2e3078 BL _ZN7cocos2d7CCPointC1Ev; cocos2d::CCPoint::CCPoint(void) ; +0x5c, 0x2e307c LDR R3, =(off_AB5BA0 - 0x2E3088) ; +0x60, 0x2e3080 MOV R0, R4 ; +0x62, 0x2e3082 ADD R3, PC; off_AB5BA0 ; +0x64, 0x2e3084 LDR R3, [R3]; dword_ACDD9C ; +0x66, 0x2e3086 ADDS R3, #0xC ; +0x68, 0x2e3088 STR.W R3, [R4,#0x234] ; +0x6a, 0x2e308a POP {R4,PC} ; +0x6e, 0x2e308e