; ; BonusDropdown::init from 0x2e0d74 to 0x2e0f46 (466 bytes) ; ; 1 xrefs: ; > BonusDropdown::create @ 0x2e0fb6 ; ; 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-R11,LR} ; +0x0, 0x2e0d74 MOV R6, R0 ; +0x4, 0x2e0d78 LDR.W R8, =(__stack_chk_guard_ptr - 0x2E0D8A) ; +0x6, 0x2e0d7a MOV R9, R2 ; +0xa, 0x2e0d7e VPUSH {D8} ; +0xc, 0x2e0d80 MOV R10, R1 ; +0x10, 0x2e0d84 ADD R8, PC; __stack_chk_guard_ptr ; +0x12, 0x2e0d86 LDR.W R8, [R8]; __stack_chk_guard ; +0x14, 0x2e0d88 LDR.W R3, [R8] ; +0x18, 0x2e0d8c VMOV.F32 S16, #0.5 ; +0x1c, 0x2e0d90 SUB SP, SP, #0x2C ; +0x20, 0x2e0d94 ADD R4, SP, #0x2C+var_10 ; +0x22, 0x2e0d96 STR R3, [SP,#0x2C+var_8] ; +0x24, 0x2e0d98 BL _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x26, 0x2e0d9a MOV R1, R0 ; +0x2a, 0x2e0d9e ADD R0, SP, #0x2C+var_20; this ; +0x2c, 0x2e0da0 BL _ZN7cocos2d10CCDirector10getWinSizeEv; cocos2d::CCDirector::getWinSize(void) ; +0x2e, 0x2e0da2 LDR R0, =(aShoptabbg001Pn - 0x2E0DAC); "shopTabBG_001.png" ; +0x32, 0x2e0da6 ADD R0, PC; "shopTabBG_001.png" ; +0x34, 0x2e0da8 BL _ZN7cocos2d8CCSprite25createWithSpriteFrameNameEPKc; cocos2d::CCSprite::createWithSpriteFrameName(char const*) ; +0x36, 0x2e0daa VLDR S17, [SP,#0x2C+var_20] ; +0x3a, 0x2e0dae VMUL.F32 S17, S17, S16 ; +0x3e, 0x2e0db2 LDR R3, [R0] ; +0x42, 0x2e0db6 MOV R5, R0 ; +0x44, 0x2e0db8 LDR R7, [R3,#0x5C] ; +0x46, 0x2e0dba LDR.W R3, [R3,#0x9C] ; +0x48, 0x2e0dbc BLX R3 ; +0x4c, 0x2e0dc0 VMOV R1, S17; float ; +0x4e, 0x2e0dc2 VLDR S15, [R0,#4] ; +0x52, 0x2e0dc6 MOV R0, R4; this ; +0x56, 0x2e0dca VMUL.F32 S15, S15, S16 ; +0x58, 0x2e0dcc VMOV R2, S15; float ; +0x5c, 0x2e0dd0 BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x60, 0x2e0dd4 MOV R0, R5 ; +0x64, 0x2e0dd8 MOV R1, R4 ; +0x66, 0x2e0dda BLX R7 ; +0x68, 0x2e0ddc LDR R3, [R5] ; +0x6a, 0x2e0dde MOV R0, R5 ; +0x6c, 0x2e0de0 LDR R1, =0x3FE66666 ; +0x6e, 0x2e0de2 LDR R3, [R3,#0x40] ; +0x70, 0x2e0de4 BLX R3 ; +0x72, 0x2e0de6 LDR R3, [R5] ; +0x74, 0x2e0de8 MOV R0, R5 ; +0x76, 0x2e0dea LDR.W R3, [R3,#0x9C] ; +0x78, 0x2e0dec BLX R3 ; +0x7c, 0x2e0df0 VMOV.F32 S14, #2.0 ; +0x7e, 0x2e0df2 LDR R1, [SP,#0x2C+var_20] ; +0x82, 0x2e0df6 MOVS R3, #0 ; +0x84, 0x2e0df8 VLDR S15, [R0,#4] ; +0x86, 0x2e0dfa MOV R0, R4 ; +0x8a, 0x2e0dfe STRB.W R3, [SP,#0x2C+var_10] ; +0x8c, 0x2e0e00 STRB.W R3, [SP,#0x2C+var_F] ; +0x90, 0x2e0e04 STRB.W R3, [SP,#0x2C+var_E] ; +0x94, 0x2e0e08 VSUB.F32 S15, S15, S14 ; +0x98, 0x2e0e0c STRB.W R3, [SP,#0x2C+var_D] ; +0x9c, 0x2e0e10 VMOV R2, S15 ; +0xa0, 0x2e0e14 VSTR S15, [R6,#0x10C] ; +0xa4, 0x2e0e18 BL _ZN7cocos2d12CCLayerColor6createERKNS_10_ccColor4BEff; cocos2d::CCLayerColor::create(cocos2d::_ccColor4B const&,float,float) ; +0xa8, 0x2e0e1c LDR R3, [R6] ; +0xac, 0x2e0e20 MOV R1, R0 ; +0xae, 0x2e0e22 STR.W R0, [R6,#0x108] ; +0xb0, 0x2e0e24 MOV R0, R6 ; +0xb4, 0x2e0e28 LDR.W R3, [R3,#0xDC] ; +0xb6, 0x2e0e2a BLX R3 ; +0xba, 0x2e0e2e LDR.W R7, [R6,#0x108] ; +0xbc, 0x2e0e30 LDR R2, [SP,#0x2C+var_1C]; float ; +0xc0, 0x2e0e34 MOVS R1, #0; float ; +0xc2, 0x2e0e36 MOV R0, R4; this ; +0xc4, 0x2e0e38 LDR R3, [R7] ; +0xc6, 0x2e0e3a LDR.W R11, [R3,#0x5C] ; +0xc8, 0x2e0e3c BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0xcc, 0x2e0e40 MOV R0, R7 ; +0xd0, 0x2e0e44 MOV R1, R4 ; +0xd2, 0x2e0e46 BLX R11 ; +0xd4, 0x2e0e48 LDR.W R0, [R6,#0x108] ; +0xd6, 0x2e0e4a MOV R1, R5 ; +0xda, 0x2e0e4e LDR R3, [R0] ; +0xdc, 0x2e0e50 LDR.W R3, [R3,#0xDC] ; +0xde, 0x2e0e52 BLX R3 ; +0xe2, 0x2e0e56 MOV R0, R9; this ; +0xe4, 0x2e0e58 BL _ZN10PriceLabel6createEi; PriceLabel::create(int) ; +0xe6, 0x2e0e5a ADD.W R9, SP, #0x2C+var_18 ; +0xea, 0x2e0e5e LDR R3, [R0] ; +0xee, 0x2e0e62 MOV R7, R0 ; +0xf0, 0x2e0e64 MOV R0, R5 ; +0xf2, 0x2e0e66 LDR R3, [R3,#0x5C] ; +0xf4, 0x2e0e68 STR R3, [SP,#0x2C+var_28] ; +0xf6, 0x2e0e6a LDR R3, [R5] ; +0xf8, 0x2e0e6c LDR R3, [R3,#0x60] ; +0xfa, 0x2e0e6e BLX R3 ; +0xfc, 0x2e0e70 LDR R1, flt_2E0F4C; float ; +0xfe, 0x2e0e72 LDR R2, flt_2E0F50; float ; +0x100, 0x2e0e74 MOV R11, R0 ; +0x102, 0x2e0e76 MOV R0, R9; this ; +0x104, 0x2e0e78 BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x106, 0x2e0e7a MOV R1, R11 ; +0x10a, 0x2e0e7e MOV R2, R9 ; +0x10c, 0x2e0e80 MOV R0, R4 ; +0x10e, 0x2e0e82 BL _ZNK7cocos2d7CCPointplERKS0_; cocos2d::CCPoint::operator+(cocos2d::CCPoint const&) ; +0x110, 0x2e0e84 MOV R0, R7 ; +0x114, 0x2e0e88 MOV R1, R4 ; +0x116, 0x2e0e8a LDR R3, [SP,#0x2C+var_28] ; +0x118, 0x2e0e8c BLX R3 ; +0x11a, 0x2e0e8e LDR R3, [R7] ; +0x11c, 0x2e0e90 VMOV R2, S16; float ; +0x11e, 0x2e0e92 MOV.W R1, #0x3F800000; float ; +0x122, 0x2e0e96 MOV R0, R4; this ; +0x126, 0x2e0e9a LDR.W R11, [R3,#0x8C] ; +0x128, 0x2e0e9c BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x12c, 0x2e0ea0 MOV R0, R7 ; +0x130, 0x2e0ea4 MOV R1, R4 ; +0x132, 0x2e0ea6 BLX R11 ; +0x134, 0x2e0ea8 LDR R3, [R7] ; +0x136, 0x2e0eaa MOV R0, R7 ; +0x138, 0x2e0eac LDR R1, =0x3F666666 ; +0x13a, 0x2e0eae LDR R3, [R3,#0x50] ; +0x13c, 0x2e0eb0 BLX R3 ; +0x13e, 0x2e0eb2 LDR.W R0, [R6,#0x108] ; +0x140, 0x2e0eb4 MOV R1, R7 ; +0x144, 0x2e0eb8 LDR R3, [R0] ; +0x146, 0x2e0eba LDR.W R3, [R3,#0xDC] ; +0x148, 0x2e0ebc BLX R3 ; +0x14c, 0x2e0ec0 LDR R1, =(aBigfontFnt - 0x2E0ECC); "bigFont.fnt" ; +0x14e, 0x2e0ec2 LDR.W R0, [R10]; this ; +0x150, 0x2e0ec4 ADD R1, PC; "bigFont.fnt" ; +0x154, 0x2e0ec8 BL _ZN7cocos2d13CCLabelBMFont6createEPKcS2_; cocos2d::CCLabelBMFont::create(char const*,char const*) ; +0x156, 0x2e0eca LDR R3, [R0] ; +0x15a, 0x2e0ece MOV R7, R0 ; +0x15c, 0x2e0ed0 MOV R0, R5 ; +0x15e, 0x2e0ed2 LDR.W R10, [R3,#0x5C] ; +0x160, 0x2e0ed4 LDR R3, [R5] ; +0x164, 0x2e0ed8 LDR R3, [R3,#0x60] ; +0x166, 0x2e0eda BLX R3 ; +0x168, 0x2e0edc LDR R1, flt_2E0F58; float ; +0x16a, 0x2e0ede LDR R2, flt_2E0F5C; float ; +0x16c, 0x2e0ee0 MOV R5, R0 ; +0x16e, 0x2e0ee2 MOV R0, R9; this ; +0x170, 0x2e0ee4 BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x172, 0x2e0ee6 MOV R1, R5 ; +0x176, 0x2e0eea MOV R2, R9 ; +0x178, 0x2e0eec MOV R0, R4 ; +0x17a, 0x2e0eee BL _ZNK7cocos2d7CCPointplERKS0_; cocos2d::CCPoint::operator+(cocos2d::CCPoint const&) ; +0x17c, 0x2e0ef0 MOV R0, R7 ; +0x180, 0x2e0ef4 MOV R1, R4 ; +0x182, 0x2e0ef6 BLX R10 ; +0x184, 0x2e0ef8 LDR R3, [R7] ; +0x186, 0x2e0efa VMOV R2, S16; float ; +0x188, 0x2e0efc MOVS R1, #0; float ; +0x18c, 0x2e0f00 MOV R0, R4; this ; +0x18e, 0x2e0f02 LDR.W R5, [R3,#0x8C] ; +0x190, 0x2e0f04 BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x194, 0x2e0f08 MOV R0, R7 ; +0x198, 0x2e0f0c MOV R1, R4 ; +0x19a, 0x2e0f0e BLX R5 ; +0x19c, 0x2e0f10 LDR R3, [R7] ; +0x19e, 0x2e0f12 MOV R0, R7 ; +0x1a0, 0x2e0f14 LDR R1, =0x3F666666 ; +0x1a2, 0x2e0f16 LDR R3, [R3,#0x50] ; +0x1a4, 0x2e0f18 BLX R3 ; +0x1a6, 0x2e0f1a LDR.W R0, [R6,#0x108] ; +0x1a8, 0x2e0f1c MOVS R2, #2 ; +0x1ac, 0x2e0f20 MOV R1, R7 ; +0x1ae, 0x2e0f22 LDR R3, [R0] ; +0x1b0, 0x2e0f24 LDR.W R3, [R3,#0xE0] ; +0x1b2, 0x2e0f26 BLX R3 ; +0x1b6, 0x2e0f2a LDR R2, [SP,#0x2C+var_8] ; +0x1b8, 0x2e0f2c LDR.W R3, [R8] ; +0x1ba, 0x2e0f2e MOVS R0, #1 ; +0x1be, 0x2e0f32 CMP R2, R3 ; +0x1c0, 0x2e0f34 BEQ loc_2E0F3C ; +0x1c2, 0x2e0f36 BLX __stack_chk_fail ; +0x1c4, 0x2e0f38 ADD SP, SP, #0x2C ; ',' ; +0x1c8, 0x2e0f3c VPOP {D8} ; +0x1ca, 0x2e0f3e POP.W {R4-R11,PC} ; +0x1ce, 0x2e0f42