; ; AchievementsLayer::create from 0x422020 to 0x42213a (282 bytes) ; ; 1 xrefs: ; > MenuLayer::onAchievements @ 0x3f9458 ; ; 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:48:02 +0000 ; PUSH {R3-R5,LR} ; +0x0, 0x422020 MOV.W R0, #0x1F8; unsigned int ; +0x2, 0x422022 BL _Znwj; operator new(uint) ; +0x6, 0x422026 MOV R4, R0 ; +0xa, 0x42202a BL _ZN7cocos2d12CCLayerColorC2Ev; cocos2d::CCLayerColor::CCLayerColor(void) ; +0xc, 0x42202c LDR R3, =(_ZTV15GJDropDownLayer_ptr - 0x42203A) ; +0x10, 0x422030 ADD.W R0, R4, #0x1B8; this ; +0x12, 0x422032 ADD R3, PC; _ZTV15GJDropDownLayer_ptr ; +0x16, 0x422036 LDR R3, [R3]; `vtable for'GJDropDownLayer ... ; +0x18, 0x422038 ADD.W R2, R3, #8 ; +0x1a, 0x42203a STR R2, [R4] ; +0x1e, 0x42203e ADD.W R2, R3, #0x2C4 ; +0x20, 0x422040 STR.W R2, [R4,#0x108] ; +0x24, 0x422044 ADD.W R2, R3, #0x2FC ; +0x28, 0x422048 STR.W R2, [R4,#0x10C] ; +0x2c, 0x42204c ADD.W R2, R3, #0x308 ; +0x30, 0x422050 STR.W R2, [R4,#0x110] ; +0x34, 0x422054 ADD.W R2, R3, #0x318 ; +0x38, 0x422058 STR.W R2, [R4,#0x114] ; +0x3c, 0x42205c ADD.W R2, R3, #0x32C ; +0x40, 0x422060 STR.W R2, [R4,#0x118] ; +0x44, 0x422064 ADD.W R2, R3, #0x344 ; +0x48, 0x422068 ADD.W R3, R3, #0x384 ; +0x4c, 0x42206c STR.W R2, [R4,#0x13C] ; +0x50, 0x422070 STR.W R3, [R4,#0x14C] ; +0x54, 0x422074 BL _ZN7cocos2d7CCPointC1Ev; cocos2d::CCPoint::CCPoint(void) ; +0x58, 0x422078 ADD.W R0, R4, #0x1C0; this ; +0x5c, 0x42207c BL _ZN7cocos2d7CCPointC1Ev; cocos2d::CCPoint::CCPoint(void) ; +0x60, 0x422080 LDR R3, =(_ZTV17AchievementsLayer_ptr - 0x422094) ; +0x64, 0x422084 MOVS R2, #0 ; +0x66, 0x422086 ADD.W R0, R4, #0x1F0; this ; +0x68, 0x422088 STR.W R2, [R4,#0x1C8] ; +0x6c, 0x42208c ADD R3, PC; _ZTV17AchievementsLayer_ptr ; +0x70, 0x422090 LDR R3, [R3]; `vtable for'AchievementsLayer ... ; +0x72, 0x422092 STR.W R2, [R4,#0x1CC] ; +0x74, 0x422094 ADD.W R1, R3, #8 ; +0x78, 0x422098 STR.W R2, [R4,#0x1D0] ; +0x7c, 0x42209c STR R1, [R4] ; +0x80, 0x4220a0 ADD.W R1, R3, #0x2C4 ; +0x82, 0x4220a2 STRB.W R2, [R4,#0x1D4] ; +0x86, 0x4220a6 STR.W R1, [R4,#0x108] ; +0x8a, 0x4220aa ADD.W R1, R3, #0x2FC ; +0x8e, 0x4220ae STR.W R2, [R4,#0x1D8] ; +0x92, 0x4220b2 STR.W R1, [R4,#0x10C] ; +0x96, 0x4220b6 ADD.W R1, R3, #0x308 ; +0x9a, 0x4220ba STRB.W R2, [R4,#0x1DC] ; +0x9e, 0x4220be STR.W R1, [R4,#0x110] ; +0xa2, 0x4220c2 ADD.W R1, R3, #0x318 ; +0xa6, 0x4220c6 STR.W R2, [R4,#0x1E0] ; +0xaa, 0x4220ca STR.W R1, [R4,#0x114] ; +0xae, 0x4220ce ADD.W R1, R3, #0x32C ; +0xb2, 0x4220d2 STR.W R2, [R4,#0x1E4] ; +0xb6, 0x4220d6 STR.W R1, [R4,#0x118] ; +0xba, 0x4220da ADD.W R1, R3, #0x344 ; +0xbe, 0x4220de STR.W R2, [R4,#0x1E8] ; +0xc2, 0x4220e2 ADD.W R3, R3, #0x384 ; +0xc6, 0x4220e6 STR.W R1, [R4,#0x13C] ; +0xca, 0x4220ea STR.W R3, [R4,#0x14C] ; +0xce, 0x4220ee STR.W R2, [R4,#0x1EC] ; +0xd2, 0x4220f2 BL _ZN7cocos2d7CCPointC1Ev; cocos2d::CCPoint::CCPoint(void) ; +0xd6, 0x4220f6 B loc_42210C ; +0xda, 0x4220fa MOV R0, R4; this ; +0xdc, 0x4220fc BL _ZN7cocos2d12CCLayerColorD2Ev; cocos2d::CCLayerColor::~CCLayerColor() ; +0xde, 0x4220fe B loc_422126 ; +0xe2, 0x422102 MOV R0, R4; this ; +0xe4, 0x422104 BL _ZN15GJDropDownLayerD2Ev; GJDropDownLayer::~GJDropDownLayer() ; +0xe6, 0x422106 B loc_422126 ; +0xea, 0x42210a LDR R1, =(aAchievements - 0x422114); "Achievements" ; +0xec, 0x42210c MOV R0, R4; this ; +0xee, 0x42210e ADD R1, PC; "Achievements" ; +0xf0, 0x422110 BL _ZN15GJDropDownLayer4initEPKc; GJDropDownLayer::init(char const*) ; +0xf2, 0x422112 MOV R5, R0 ; +0xf6, 0x422116 CBNZ R0, loc_422130 ; +0xf8, 0x422118 LDR R3, [R4] ; +0xfa, 0x42211a MOV R0, R4 ; +0xfc, 0x42211c MOV R4, R5 ; +0xfe, 0x42211e LDR R3, [R3,#8] ; +0x100, 0x422120 BLX R3 ; +0x102, 0x422122 B loc_422136 ; +0x104, 0x422124 MOV R0, R4; void * ; +0x106, 0x422126 BL _ZdlPv; operator delete(void *) ; +0x108, 0x422128 BL __cxa_end_cleanup ; +0x10c, 0x42212c MOV R0, R4; this ; +0x110, 0x422130 BL _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0x112, 0x422132 MOV R0, R4 ; +0x116, 0x422136 POP {R3-R5,PC} ; +0x118, 0x422138