; ; ButtonPage::create from 0x8615fc to 0x86171c (288 bytes) ; ; 2 xrefs: ; > EditButtonBar::loadFromItems @ 0x8619e4 ; > @ 0x104740 ; ; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! ; ; 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 12:55:36 +0000 ; STP X29, X30, [SP,#var_60]! ; +0x0, 0x8615fc MOV X29, SP ; +0x4, 0x861600 STP X19, X20, [SP,#0x60+var_50] ; +0x8, 0x861604 ADRP X20, #__stack_chk_guard_ptr@PAGE ; +0xc, 0x861608 STR X23, [SP,#0x60+var_30] ; +0x10, 0x86160c MOV X23, X1 ; +0x14, 0x861610 STP X21, X22, [SP,#0x60+var_40] ; +0x18, 0x861614 LDR X1, [X20,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x1c, 0x861618 MOV X22, X0 ; +0x20, 0x86161c STR D8, [SP,#0x60+var_28] ; +0x24, 0x861620 MOV X0, #0x198; unsigned __int64 ; +0x28, 0x861624 FMOV S8, S0 ; +0x2c, 0x861628 MOV W21, W2 ; +0x30, 0x86162c LDR X1, [X1] ; +0x34, 0x861630 STR X1, [X29,#0x60+var_8] ; +0x38, 0x861634 BL _Znwm; operator new(ulong) ; +0x3c, 0x861638 MOV X19, X0 ; +0x40, 0x86163c BL _ZN7cocos2d7CCLayerC2Ev; cocos2d::CCLayer::CCLayer(void) ; +0x44, 0x861640 ADRP X3, #_ZTV10ButtonPage_ptr@PAGE ; +0x48, 0x861644 ADD X2, X29, #0x60+var_10 ; +0x4c, 0x861648 MOV X0, X2; this ; +0x50, 0x86164c MOV X1, X23; cocos2d::CCPoint * ; +0x54, 0x861650 STR X2, [X29,#0x60+var_18] ; +0x58, 0x861654 LDR X3, [X3,#_ZTV10ButtonPage_ptr@PAGEOFF]; `vtable for'ButtonPage ... ; +0x5c, 0x861658 ADD X8, X3, #0x10 ; +0x60, 0x86165c ADD X7, X3, #0x4A0 ; +0x64, 0x861660 ADD X6, X3, #0x510 ; +0x68, 0x861664 ADD X5, X3, #0x528 ; +0x6c, 0x861668 ADD X4, X3, #0x548 ; +0x70, 0x86166c STR X8, [X19] ; +0x74, 0x861670 ADD X3, X3, #0x570 ; +0x78, 0x861674 STR X7, [X19,#0x140] ; +0x7c, 0x861678 STR X3, [X19,#0x160] ; +0x80, 0x86167c STR X6, [X19,#0x148] ; +0x84, 0x861680 STR X5, [X19,#0x150] ; +0x88, 0x861684 STR X4, [X19,#0x158] ; +0x8c, 0x861688 BL _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x90, 0x86168c FMOV S0, S8 ; +0x94, 0x861690 LDR X2, [X29,#0x60+var_18] ; +0x98, 0x861694 MOV X0, X19 ; +0x9c, 0x861698 MOV X1, X22 ; +0xa0, 0x86169c MOV W3, W21 ; +0xa4, 0x8616a0 BL _ZN10ButtonPage4initEPN7cocos2d7CCArrayENS0_7CCPointEif; ButtonPage::init(cocos2d::CCArray *,cocos2d::CCPoint,int,float) ; +0xa8, 0x8616a4 UXTB W0, W0 ; +0xac, 0x8616a8 CBNZ W0, loc_8616F4 ; +0xb0, 0x8616ac LDR X1, [X19] ; +0xb4, 0x8616b0 MOV X0, X19 ; +0xb8, 0x8616b4 MOV X19, #0 ; +0xbc, 0x8616b8 LDR X1, [X1,#0x10] ; +0xc0, 0x8616bc BLR X1 ; +0xc4, 0x8616c0 LDR X20, [X20,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0xc8, 0x8616c4 MOV X0, X19 ; +0xcc, 0x8616c8 LDR X2, [X29,#0x60+var_8] ; +0xd0, 0x8616cc LDR X1, [X20] ; +0xd4, 0x8616d0 CMP X2, X1 ; +0xd8, 0x8616d4 B.NE loc_861700 ; +0xdc, 0x8616d8 LDP X19, X20, [SP,#0x60+var_50] ; +0xe0, 0x8616dc LDP X21, X22, [SP,#0x60+var_40] ; +0xe4, 0x8616e0 LDR X23, [SP,#0x60+var_30] ; +0xe8, 0x8616e4 LDR D8, [SP,#0x60+var_28] ; +0xec, 0x8616e8 LDP X29, X30, [SP+0x60+var_60],#0x60 ; +0xf0, 0x8616ec RET ; +0xf4, 0x8616f0 MOV X0, X19; this ; +0xf8, 0x8616f4 BL _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0xfc, 0x8616f8 B loc_8616C4 ; +0x100, 0x8616fc BL .__stack_chk_fail ; +0x104, 0x861700 BL _Unwind_Resume ; +0x108, 0x861704 MOV X20, X0 ; +0x10c, 0x861708 MOV X0, X19; void * ; +0x110, 0x86170c BL _ZdlPv; operator delete(void *) ; +0x114, 0x861710 MOV X0, X20 ; +0x118, 0x861714 B loc_861704 ; +0x11c, 0x861718