; ; BonusDropdown::init from 0x68763c to 0x68792c (752 bytes) ; ; 2 xrefs: ; > BonusDropdown::create @ 0x6879d0 ; > @ 0x84be0 ; ; 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:50:31 +0000 ; STP X29, X30, [SP,#var_A0]! ; +0x0, 0x68763c MOV X29, SP ; +0x4, 0x687640 STP X23, X24, [SP,#0xA0+var_70] ; +0x8, 0x687644 ADRP X23, #__stack_chk_guard_ptr@PAGE ; +0xc, 0x687648 STR X27, [SP,#0xA0+var_50] ; +0x10, 0x68764c STP X21, X22, [SP,#0xA0+var_80] ; +0x14, 0x687650 MOV X21, X0 ; +0x18, 0x687654 STR X2, [X29,#0xA0+var_38] ; +0x1c, 0x687658 LDR X0, [X23,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x20, 0x68765c ADD X24, X29, #0xA0+var_18 ; +0x24, 0x687660 STP X19, X20, [SP,#0xA0+var_90] ; +0x28, 0x687664 STP X25, X26, [SP,#0xA0+var_60] ; +0x2c, 0x687668 STR D8, [SP,#0xA0+var_48] ; +0x30, 0x68766c MOV X25, X1 ; +0x34, 0x687670 LDR X0, [X0]; this ; +0x38, 0x687674 ADD X19, X29, #0xA0+var_10 ; +0x3c, 0x687678 FMOV S8, #0.5 ; +0x40, 0x68767c STR X0, [X29,#0xA0+var_8] ; +0x44, 0x687680 BL _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x48, 0x687684 ADD X8, X29, #0xA0+var_20 ; +0x4c, 0x687688 BL _ZN7cocos2d10CCDirector10getWinSizeEv; cocos2d::CCDirector::getWinSize(void) ; +0x50, 0x68768c ADRL X0, aShoptabbg001Pn; "shopTabBG_001.png" ; +0x54, 0x687690 BL _ZN7cocos2d8CCSprite25createWithSpriteFrameNameEPKc; cocos2d::CCSprite::createWithSpriteFrameName(char const*) ; +0x5c, 0x687698 LDR X1, [X0] ; +0x60, 0x68769c LDR S0, [X29,#0xA0+var_20] ; +0x64, 0x6876a0 MOV X20, X0 ; +0x68, 0x6876a4 FMUL S0, S0, S8 ; +0x6c, 0x6876a8 LDR X3, [X1,#0x148] ; +0x70, 0x6876ac LDR X22, [X1,#0xB8] ; +0x74, 0x6876b0 STR Q0, [X29,#0xA0+var_30] ; +0x78, 0x6876b4 BLR X3 ; +0x7c, 0x6876b8 LDR S1, [X0,#4] ; +0x80, 0x6876bc MOV X0, X19; this ; +0x84, 0x6876c0 LDR Q0, [X29,#0xA0+var_30]; float ; +0x88, 0x6876c4 FMUL S1, S1, S8; float ; +0x8c, 0x6876c8 BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x90, 0x6876cc MOV X0, X20 ; +0x94, 0x6876d0 MOV X1, X19 ; +0x98, 0x6876d4 BLR X22 ; +0x9c, 0x6876d8 LDR X1, [X20] ; +0xa0, 0x6876dc MOV X0, X20 ; +0xa4, 0x6876e0 LDR S0, =0x3FE66666 ; +0xa8, 0x6876e4 LDR X1, [X1,#0x80] ; +0xac, 0x6876e8 BLR X1 ; +0xb0, 0x6876ec LDR X1, [X20] ; +0xb4, 0x6876f0 MOV X0, X20 ; +0xb8, 0x6876f4 LDR X1, [X1,#0x148] ; +0xbc, 0x6876f8 BLR X1 ; +0xc0, 0x6876fc FMOV S2, #2.0 ; +0xc4, 0x687700 LDR S1, [X0,#4] ; +0xc8, 0x687704 MOV X0, X19 ; +0xcc, 0x687708 LDR S0, [X29,#0xA0+var_20] ; +0xd0, 0x68770c STRB WZR, [X29,#0xA0+var_10] ; +0xd4, 0x687710 FSUB S2, S1, S2 ; +0xd8, 0x687714 STRB WZR, [X29,#0xA0+var_F] ; +0xdc, 0x687718 STRB WZR, [X29,#0xA0+var_E] ; +0xe0, 0x68771c STRB WZR, [X29,#0xA0+var_D] ; +0xe4, 0x687720 FMOV S1, S2 ; +0xe8, 0x687724 STR S2, [X21,#0x148] ; +0xec, 0x687728 BL _ZN7cocos2d12CCLayerColor6createERKNS_10_ccColor4BEff; cocos2d::CCLayerColor::create(cocos2d::_ccColor4B const&,float,float) ; +0xf0, 0x68772c MOV X1, X0 ; +0xf4, 0x687730 LDR X3, [X21] ; +0xf8, 0x687734 MOV X0, X21 ; +0xfc, 0x687738 STR X1, [X21,#0x140] ; +0x100, 0x68773c LDR X3, [X3,#0x1C8] ; +0x104, 0x687740 BLR X3 ; +0x108, 0x687744 LDR X22, [X21,#0x140] ; +0x10c, 0x687748 FMOV S0, WZR; float ; +0x110, 0x68774c MOV X0, X19; this ; +0x114, 0x687750 LDR S1, [X29,#0xA0+var_1C]; float ; +0x118, 0x687754 LDR X1, [X22] ; +0x11c, 0x687758 LDR X26, [X1,#0xB8] ; +0x120, 0x68775c BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x124, 0x687760 MOV X0, X22 ; +0x128, 0x687764 MOV X1, X19 ; +0x12c, 0x687768 BLR X26 ; +0x130, 0x68776c LDR X3, [X21,#0x140] ; +0x134, 0x687770 MOV X1, X20 ; +0x138, 0x687774 MOV X0, X3 ; +0x13c, 0x687778 LDR X3, [X3] ; +0x140, 0x68777c LDR X3, [X3,#0x1C8] ; +0x144, 0x687780 BLR X3 ; +0x148, 0x687784 LDR X2, [X29,#0xA0+var_38] ; +0x14c, 0x687788 MOV W0, W2; this ; +0x150, 0x68778c BL _ZN10PriceLabel6createEi; PriceLabel::create(int) ; +0x154, 0x687790 MOV X22, X0 ; +0x158, 0x687794 LDR X1, [X20] ; +0x15c, 0x687798 MOV X0, X20 ; +0x160, 0x68779c LDR X2, [X22] ; +0x164, 0x6877a0 LDR X1, [X1,#0xC0] ; +0x168, 0x6877a4 LDR X26, [X2,#0xB8] ; +0x16c, 0x6877a8 BLR X1 ; +0x170, 0x6877ac MOV X27, X0 ; +0x174, 0x6877b0 LDR S0, flt_687930; float ; +0x178, 0x6877b4 MOV X0, X24; this ; +0x17c, 0x6877b8 FMOV S1, #-4.0; float ; +0x180, 0x6877bc BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x184, 0x6877c0 MOV X8, X19 ; +0x188, 0x6877c4 MOV X0, X27 ; +0x18c, 0x6877c8 MOV X1, X24 ; +0x190, 0x6877cc BL _ZNK7cocos2d7CCPointplERKS0_; cocos2d::CCPoint::operator+(cocos2d::CCPoint const&) ; +0x194, 0x6877d0 MOV X0, X22 ; +0x198, 0x6877d4 MOV X1, X19 ; +0x19c, 0x6877d8 BLR X26 ; +0x1a0, 0x6877dc FMOV S1, S8; float ; +0x1a4, 0x6877e0 LDR X1, [X22] ; +0x1a8, 0x6877e4 FMOV S0, #1.0; float ; +0x1ac, 0x6877e8 MOV X0, X19; this ; +0x1b0, 0x6877ec LDR X26, [X1,#0x128] ; +0x1b4, 0x6877f0 BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x1b8, 0x6877f4 MOV X0, X22 ; +0x1bc, 0x6877f8 MOV X1, X19 ; +0x1c0, 0x6877fc BLR X26 ; +0x1c4, 0x687800 LDR S8, =0x3F666666 ; +0x1c8, 0x687804 LDR X1, [X22] ; +0x1cc, 0x687808 MOV X0, X22 ; +0x1d0, 0x68780c FMOV S0, S8 ; +0x1d4, 0x687810 LDR X1, [X1,#0xA0] ; +0x1d8, 0x687814 BLR X1 ; +0x1dc, 0x687818 LDR X2, [X21,#0x140] ; +0x1e0, 0x68781c MOV X1, X22 ; +0x1e4, 0x687820 MOV X0, X2 ; +0x1e8, 0x687824 LDR X2, [X2] ; +0x1ec, 0x687828 LDR X2, [X2,#0x1C8] ; +0x1f0, 0x68782c BLR X2 ; +0x1f4, 0x687830 MOV X0, X25 ; +0x1f8, 0x687834 LDRB W1, [X0],#1 ; +0x1fc, 0x687838 TBZ W1, #0, loc_687844 ; +0x200, 0x68783c LDR X0, [X25,#0x10]; this ; +0x204, 0x687840 ADRL X1, aBigfontFnt; "bigFont.fnt" ; +0x208, 0x687844 BL _ZN7cocos2d13CCLabelBMFont6createEPKcS2_; cocos2d::CCLabelBMFont::create(char const*,char const*) ; +0x210, 0x68784c MOV X22, X0 ; +0x214, 0x687850 LDR X1, [X20] ; +0x218, 0x687854 MOV X0, X20 ; +0x21c, 0x687858 LDR X2, [X22] ; +0x220, 0x68785c LDR X1, [X1,#0xC0] ; +0x224, 0x687860 LDR X20, [X2,#0xB8] ; +0x228, 0x687864 BLR X1 ; +0x22c, 0x687868 MOV X25, X0 ; +0x230, 0x68786c LDR S0, flt_687938; float ; +0x234, 0x687870 MOV X0, X24; this ; +0x238, 0x687874 FMOV S1, #-1.0; float ; +0x23c, 0x687878 BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x240, 0x68787c MOV X8, X19 ; +0x244, 0x687880 MOV X0, X25 ; +0x248, 0x687884 MOV X1, X24 ; +0x24c, 0x687888 BL _ZNK7cocos2d7CCPointplERKS0_; cocos2d::CCPoint::operator+(cocos2d::CCPoint const&) ; +0x250, 0x68788c MOV X0, X22 ; +0x254, 0x687890 MOV X1, X19 ; +0x258, 0x687894 BLR X20 ; +0x25c, 0x687898 FMOV S0, WZR; float ; +0x260, 0x68789c LDR X1, [X22] ; +0x264, 0x6878a0 FMOV S1, #0.5; float ; +0x268, 0x6878a4 MOV X0, X19; this ; +0x26c, 0x6878a8 LDR X20, [X1,#0x128] ; +0x270, 0x6878ac BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x274, 0x6878b0 MOV X0, X22 ; +0x278, 0x6878b4 MOV X1, X19 ; +0x27c, 0x6878b8 BLR X20 ; +0x280, 0x6878bc LDR X1, [X22] ; +0x284, 0x6878c0 MOV X0, X22 ; +0x288, 0x6878c4 FMOV S0, S8 ; +0x28c, 0x6878c8 LDR X1, [X1,#0xA0] ; +0x290, 0x6878cc BLR X1 ; +0x294, 0x6878d0 LDR X3, [X21,#0x140] ; +0x298, 0x6878d4 MOV X1, X22 ; +0x29c, 0x6878d8 MOV W2, #2 ; +0x2a0, 0x6878dc MOV X0, X3 ; +0x2a4, 0x6878e0 LDR X3, [X3] ; +0x2a8, 0x6878e4 LDR X3, [X3,#0x1D0] ; +0x2ac, 0x6878e8 BLR X3 ; +0x2b0, 0x6878ec LDR X23, [X23,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x2b4, 0x6878f0 LDR X2, [X29,#0xA0+var_8] ; +0x2b8, 0x6878f4 MOV W0, #1 ; +0x2bc, 0x6878f8 LDR X1, [X23] ; +0x2c0, 0x6878fc CMP X2, X1 ; +0x2c4, 0x687900 B.NE loc_687928 ; +0x2c8, 0x687904 LDP X19, X20, [SP,#0xA0+var_90] ; +0x2cc, 0x687908 LDP X21, X22, [SP,#0xA0+var_80] ; +0x2d0, 0x68790c LDP X23, X24, [SP,#0xA0+var_70] ; +0x2d4, 0x687910 LDP X25, X26, [SP,#0xA0+var_60] ; +0x2d8, 0x687914 LDR X27, [SP,#0xA0+var_50] ; +0x2dc, 0x687918 LDR D8, [SP,#0xA0+var_48] ; +0x2e0, 0x68791c LDP X29, X30, [SP+0xA0+var_A0],#0xA0 ; +0x2e4, 0x687920 RET ; +0x2e8, 0x687924 BL .__stack_chk_fail ; +0x2ec, 0x687928