; ; ButtonPage::create from 0x3d9268 to 0x3d9314 (172 bytes) ; ; 1 xrefs: ; > EditButtonBar::loadFromItems @ 0x3d94f8 ; ; 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-R10,LR} ; +0x0, 0x3d9268 MOV R8, R3 ; +0x4, 0x3d926c LDR R5, =(__stack_chk_guard_ptr - 0x3D927C) ; +0x6, 0x3d926e SUB SP, SP, #0x18 ; +0x8, 0x3d9270 MOV R7, R0 ; +0xa, 0x3d9272 MOV.W R0, #0x13C; unsigned int ; +0xc, 0x3d9274 ADD R5, PC; __stack_chk_guard_ptr ; +0x10, 0x3d9278 LDR R5, [R5]; __stack_chk_guard ; +0x12, 0x3d927a MOV R9, R1 ; +0x14, 0x3d927c MOV R6, R2 ; +0x16, 0x3d927e LDR R3, [R5] ; +0x18, 0x3d9280 STR R3, [SP,#0x18+var_4] ; +0x1a, 0x3d9282 BL _Znwj; operator new(uint) ; +0x1c, 0x3d9284 MOV R4, R0 ; +0x20, 0x3d9288 BL _ZN7cocos2d7CCLayerC2Ev; cocos2d::CCLayer::CCLayer(void) ; +0x22, 0x3d928a LDR R3, =(_ZTV10ButtonPage_ptr - 0x3D929A) ; +0x26, 0x3d928e ADD.W R10, SP, #0x18+var_C ; +0x28, 0x3d9290 MOV R1, R9; cocos2d::CCPoint * ; +0x2c, 0x3d9294 ADD R3, PC; _ZTV10ButtonPage_ptr ; +0x2e, 0x3d9296 LDR R3, [R3]; `vtable for'ButtonPage ... ; +0x30, 0x3d9298 MOV R0, R10; this ; +0x32, 0x3d929a ADD.W R2, R3, #8 ; +0x34, 0x3d929c STR R2, [R4] ; +0x38, 0x3d92a0 ADD.W R2, R3, #0x248 ; +0x3a, 0x3d92a2 STR.W R2, [R4,#0x108] ; +0x3e, 0x3d92a6 ADD.W R2, R3, #0x280 ; +0x42, 0x3d92aa STR.W R2, [R4,#0x10C] ; +0x46, 0x3d92ae ADD.W R2, R3, #0x28C ; +0x4a, 0x3d92b2 STR.W R2, [R4,#0x110] ; +0x4e, 0x3d92b6 ADD.W R2, R3, #0x29C ; +0x52, 0x3d92ba ADD.W R3, R3, #0x2AC ; +0x56, 0x3d92be STR.W R2, [R4,#0x114] ; +0x5a, 0x3d92c2 STR.W R3, [R4,#0x118] ; +0x5e, 0x3d92c6 BL _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x62, 0x3d92ca STR.W R8, [SP,#0x18+var_18] ; +0x66, 0x3d92ce MOV R0, R4 ; +0x6a, 0x3d92d2 MOV R1, R7 ; +0x6c, 0x3d92d4 MOV R2, R10 ; +0x6e, 0x3d92d6 MOV R3, R6 ; +0x70, 0x3d92d8 BL _ZN10ButtonPage4initEPN7cocos2d7CCArrayENS0_7CCPointEif; ButtonPage::init(cocos2d::CCArray *,cocos2d::CCPoint,int,float) ; +0x72, 0x3d92da MOV R6, R0 ; +0x76, 0x3d92de CBZ R0, loc_3D92EC ; +0x78, 0x3d92e0 MOV R0, R4; this ; +0x7a, 0x3d92e2 BL _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0x7c, 0x3d92e4 B loc_3D92F6 ; +0x80, 0x3d92e8 B loc_3D930A ; +0x82, 0x3d92ea LDR R3, [R4] ; +0x84, 0x3d92ec MOV R0, R4 ; +0x86, 0x3d92ee MOV R4, R6 ; +0x88, 0x3d92f0 LDR R3, [R3,#8] ; +0x8a, 0x3d92f2 BLX R3 ; +0x8c, 0x3d92f4 LDR R2, [SP,#0x18+var_4] ; +0x8e, 0x3d92f6 MOV R0, R4 ; +0x90, 0x3d92f8 LDR R3, [R5] ; +0x92, 0x3d92fa CMP R2, R3 ; +0x94, 0x3d92fc BEQ loc_3D930E ; +0x96, 0x3d92fe BLX __stack_chk_fail ; +0x98, 0x3d9300 MOV R0, R4; p ; +0x9c, 0x3d9304 BL _ZdlPv; operator delete(void *) ; +0x9e, 0x3d9306 BL __cxa_end_cleanup ; +0xa2, 0x3d930a ADD SP, SP, #0x18 ; +0xa6, 0x3d930e POP.W {R4-R10,PC} ; +0xa8, 0x3d9310