; ; ButtonPage::create from 0x4de02c to 0x4de0d8 (172 bytes) ; ; 1 xrefs: ; > EditButtonBar::loadFromItems @ 0x4de33c ; ; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 11:50:58 +0000 ; PUSH.W {R4-R10,LR} ; +0x0, 0x4de02c MOV R8, R3 ; +0x4, 0x4de030 LDR R5, =(__stack_chk_guard_ptr - 0x4DE040) ; +0x6, 0x4de032 SUB SP, SP, #0x18 ; +0x8, 0x4de034 MOV R7, R0 ; +0xa, 0x4de036 MOV.W R0, #0x13C; unsigned int ; +0xc, 0x4de038 ADD R5, PC; __stack_chk_guard_ptr ; +0x10, 0x4de03c LDR R5, [R5]; __stack_chk_guard ; +0x12, 0x4de03e MOV R9, R1 ; +0x14, 0x4de040 MOV R6, R2 ; +0x16, 0x4de042 LDR R3, [R5] ; +0x18, 0x4de044 STR R3, [SP,#0x18+var_4] ; +0x1a, 0x4de046 BL _Znwj; operator new(uint) ; +0x1c, 0x4de048 MOV R4, R0 ; +0x20, 0x4de04c BL _ZN7cocos2d7CCLayerC2Ev; cocos2d::CCLayer::CCLayer(void) ; +0x22, 0x4de04e LDR R3, =(_ZTV10ButtonPage_ptr - 0x4DE05E) ; +0x26, 0x4de052 ADD.W R10, SP, #0x18+var_C ; +0x28, 0x4de054 MOV R1, R9; cocos2d::CCPoint * ; +0x2c, 0x4de058 ADD R3, PC; _ZTV10ButtonPage_ptr ; +0x2e, 0x4de05a LDR R3, [R3]; `vtable for'ButtonPage ... ; +0x30, 0x4de05c MOV R0, R10; this ; +0x32, 0x4de05e ADD.W R2, R3, #8 ; +0x34, 0x4de060 STR R2, [R4] ; +0x38, 0x4de064 ADD.W R2, R3, #0x250 ; +0x3a, 0x4de066 STR.W R2, [R4,#0x108] ; +0x3e, 0x4de06a ADD.W R2, R3, #0x288 ; +0x42, 0x4de06e STR.W R2, [R4,#0x10C] ; +0x46, 0x4de072 ADD.W R2, R3, #0x294 ; +0x4a, 0x4de076 STR.W R2, [R4,#0x110] ; +0x4e, 0x4de07a ADD.W R2, R3, #0x2A4 ; +0x52, 0x4de07e ADD.W R3, R3, #0x2B8 ; +0x56, 0x4de082 STR.W R2, [R4,#0x114] ; +0x5a, 0x4de086 STR.W R3, [R4,#0x118] ; +0x5e, 0x4de08a BL _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x62, 0x4de08e STR.W R8, [SP,#0x18+var_18] ; +0x66, 0x4de092 MOV R0, R4 ; +0x6a, 0x4de096 MOV R1, R7 ; +0x6c, 0x4de098 MOV R2, R10 ; +0x6e, 0x4de09a MOV R3, R6 ; +0x70, 0x4de09c BL _ZN10ButtonPage4initEPN7cocos2d7CCArrayENS0_7CCPointEif; ButtonPage::init(cocos2d::CCArray *,cocos2d::CCPoint,int,float) ; +0x72, 0x4de09e MOV R6, R0 ; +0x76, 0x4de0a2 CBZ R0, loc_4DE0B0 ; +0x78, 0x4de0a4 MOV R0, R4; this ; +0x7a, 0x4de0a6 BL _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0x7c, 0x4de0a8 B loc_4DE0BA ; +0x80, 0x4de0ac B loc_4DE0CE ; +0x82, 0x4de0ae LDR R3, [R4] ; +0x84, 0x4de0b0 MOV R0, R4 ; +0x86, 0x4de0b2 MOV R4, R6 ; +0x88, 0x4de0b4 LDR R3, [R3,#8] ; +0x8a, 0x4de0b6 BLX R3 ; +0x8c, 0x4de0b8 LDR R2, [SP,#0x18+var_4] ; +0x8e, 0x4de0ba MOV R0, R4 ; +0x90, 0x4de0bc LDR R3, [R5] ; +0x92, 0x4de0be CMP R2, R3 ; +0x94, 0x4de0c0 BEQ loc_4DE0D2 ; +0x96, 0x4de0c2 BLX __stack_chk_fail ; +0x98, 0x4de0c4 MOV R0, R4; void * ; +0x9c, 0x4de0c8 BL _ZdlPv; operator delete(void *) ; +0x9e, 0x4de0ca BL __cxa_end_cleanup ; +0xa2, 0x4de0ce ADD SP, SP, #0x18 ; +0xa6, 0x4de0d2 POP.W {R4-R10,PC} ; +0xa8, 0x4de0d4