; ; AchievementManager::achievementForUnlock from 0x2e06f8 to 0x2e0852 (346 bytes) ; ; 6 xrefs: ; > GJGarageLayer::titleForUnlock @ 0x4029fc ; > GJGarageLayer::descriptionForUnlock @ 0x402a90 ; > GJGarageLayer::achievementForUnlock @ 0x402b22 ; > ItemInfoPopup::init @ 0x404e0a ; > GameStatsManager::getItemUnlockStateLite @ 0x41cbbc ; > GameStatsManager::generateItemUnlockableData @ 0x41ccd4 ; ; 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-R10,LR} ; +0x0, 0x2e06f8 MOV R7, R2 ; +0x4, 0x2e06fc LDR R6, =(__stack_chk_guard_ptr - 0x2E070C) ; +0x6, 0x2e06fe SUB.W SP, SP, #0x218 ; +0x8, 0x2e0700 ADD R5, SP, #0x218+var_204 ; +0xc, 0x2e0704 SUBS R3, #1; switch 15 cases ; +0xe, 0x2e0706 ADD R6, PC; __stack_chk_guard_ptr ; +0x10, 0x2e0708 LDR R6, [R6]; __stack_chk_guard ; +0x12, 0x2e070a MOV R10, R1 ; +0x14, 0x2e070c ADD.W R8, SP, #0x218+var_1F8 ; +0x16, 0x2e070e MOV.W R1, #0x1F4 ; +0x1a, 0x2e0712 LDR R2, [R6] ; +0x1e, 0x2e0716 MOV R9, R0 ; +0x20, 0x2e0718 STR R1, [R5,#4] ; +0x22, 0x2e071a ADD R4, SP, #0x218+var_20C ; +0x24, 0x2e071c STR.W R8, [R5,#8] ; +0x26, 0x2e071e STR R2, [SP,#0x218+var_4] ; +0x2a, 0x2e0722 MOVS R2, #0 ; +0x2c, 0x2e0724 STR R2, [R5] ; +0x2e, 0x2e0726 CMP R3, #0xE ; +0x30, 0x2e0728 BHI def_2E072C; jumptable 002E072C default case ; +0x32, 0x2e072a TBB.W [PC,R3]; switch jump ; +0x34, 0x2e072c DCB 8; jump table for switch statement ; +0x38, 0x2e0730 DCB 0xB ; +0x39, 0x2e0731 DCB 0xE ; +0x3a, 0x2e0732 DCB 0x11 ; +0x3b, 0x2e0733 DCB 0x14 ; +0x3c, 0x2e0734 DCB 0x17 ; +0x3d, 0x2e0735 DCB 0x1A ; +0x3e, 0x2e0736 DCB 0x1D ; +0x3f, 0x2e0737 DCB 0x20 ; +0x40, 0x2e0738 DCB 0x23 ; +0x41, 0x2e0739 DCB 0x26 ; +0x42, 0x2e073a DCB 0x2F ; +0x43, 0x2e073b DCB 0x29 ; +0x44, 0x2e073c DCB 0x2C ; +0x45, 0x2e073d DCB 0x32 ; +0x46, 0x2e073e ALIGN 2 ; +0x47, 0x2e073f LDR R3, =(aIcon_0 - 0x2E0746); jumptable 002E072C case 1 ; +0x48, 0x2e0740 ADD R3, PC; "icon_" ; +0x4a, 0x2e0742 B loc_2E079E ; +0x4c, 0x2e0744 LDR R3, =(aColor - 0x2E074C); jumptable 002E072C case 2 ; +0x4e, 0x2e0746 ADD R3, PC; "color_" ; +0x50, 0x2e0748 B loc_2E079E ; +0x52, 0x2e074a LDR R3, =(aColor2 - 0x2E0752); jumptable 002E072C case 3 ; +0x54, 0x2e074c ADD R3, PC; "color2_" ; +0x56, 0x2e074e B loc_2E079E ; +0x58, 0x2e0750 LDR R3, =(aShip - 0x2E0758); jumptable 002E072C case 4 ; +0x5a, 0x2e0752 ADD R3, PC; "ship_" ; +0x5c, 0x2e0754 B loc_2E079E ; +0x5e, 0x2e0756 LDR R3, =(aBall - 0x2E075E); jumptable 002E072C case 5 ; +0x60, 0x2e0758 ADD R3, PC; "ball_" ; +0x62, 0x2e075a B loc_2E079E ; +0x64, 0x2e075c LDR R3, =(aBird - 0x2E0764); jumptable 002E072C case 6 ; +0x66, 0x2e075e ADD R3, PC; "bird_" ; +0x68, 0x2e0760 B loc_2E079E ; +0x6a, 0x2e0762 LDR R3, =(aDart - 0x2E076A); jumptable 002E072C case 7 ; +0x6c, 0x2e0764 ADD R3, PC; "dart_" ; +0x6e, 0x2e0766 B loc_2E079E ; +0x70, 0x2e0768 LDR R3, =(aRobot - 0x2E0770); jumptable 002E072C case 8 ; +0x72, 0x2e076a ADD R3, PC; "robot_" ; +0x74, 0x2e076c B loc_2E079E ; +0x76, 0x2e076e LDR R3, =(aSpider - 0x2E0776); jumptable 002E072C case 9 ; +0x78, 0x2e0770 ADD R3, PC; "spider_" ; +0x7a, 0x2e0772 B loc_2E079E ; +0x7c, 0x2e0774 LDR R3, =(aSpecial - 0x2E077C); jumptable 002E072C case 10 ; +0x7e, 0x2e0776 ADD R3, PC; "special_" ; +0x80, 0x2e0778 B loc_2E079E ; +0x82, 0x2e077a LDR R3, =(aDeath - 0x2E0782); jumptable 002E072C case 11 ; +0x84, 0x2e077c ADD R3, PC; "death_" ; +0x86, 0x2e077e B loc_2E079E ; +0x88, 0x2e0780 LDR R3, =(aSwing - 0x2E0788); jumptable 002E072C case 13 ; +0x8a, 0x2e0782 ADD R3, PC; "swing_" ; +0x8c, 0x2e0784 B loc_2E079E ; +0x8e, 0x2e0786 LDR R3, =(aJetpack - 0x2E078E); jumptable 002E072C case 14 ; +0x90, 0x2e0788 ADD R3, PC; "jetpack_" ; +0x92, 0x2e078a B loc_2E079E ; +0x94, 0x2e078c LDR R3, =(aItem - 0x2E0794); jumptable 002E072C case 12 ; +0x96, 0x2e078e ADD R3, PC; "item_" ; +0x98, 0x2e0790 B loc_2E079E ; +0x9a, 0x2e0792 LDR R3, =(aShipstreak - 0x2E079A); jumptable 002E072C case 15 ; +0x9c, 0x2e0794 ADD R3, PC; "shipstreak_" ; +0x9e, 0x2e0796 B loc_2E079E ; +0xa0, 0x2e0798 LDR R3, =(asc_94854F - 0x2E07A0); jumptable 002E072C default case ; +0xa2, 0x2e079a ADD R3, PC; " _" ; +0xa4, 0x2e079c STR R3, [R4] ; +0xa6, 0x2e079e MOV R0, R5 ; +0xa8, 0x2e07a0 STR R2, [R4,#4] ; +0xaa, 0x2e07a2 LDM.W R4, {R1,R2} ; +0xac, 0x2e07a4 BL _ZN3fmt11BasicWriterIcElsENS_14BasicStringRefIcEE; fmt::BasicWriter::operator<<(fmt::BasicStringRef) ; +0xb0, 0x2e07a8 CMP R7, #9 ; +0xb4, 0x2e07ac BGT loc_2E07C4 ; +0xb6, 0x2e07ae LDR R3, =(a0 - 0x2E07B8); "0" ; +0xb8, 0x2e07b0 MOV R0, R5 ; +0xba, 0x2e07b2 ADD R3, PC; "0" ; +0xbc, 0x2e07b4 STR R3, [R4] ; +0xbe, 0x2e07b6 MOVS R3, #0 ; +0xc0, 0x2e07b8 STR R3, [R4,#4] ; +0xc2, 0x2e07ba LDM.W R4, {R1,R2} ; +0xc4, 0x2e07bc BL _ZN3fmt11BasicWriterIcElsENS_14BasicStringRefIcEE; fmt::BasicWriter::operator<<(fmt::BasicStringRef) ; +0xc8, 0x2e07c0 MOV R0, R5 ; +0xcc, 0x2e07c4 MOV R1, R7 ; +0xce, 0x2e07c6 MOV R2, R4 ; +0xd0, 0x2e07c8 STR R7, [R4] ; +0xd2, 0x2e07ca BL _ZN3fmt11BasicWriterIcE9FormatIntIiNS_13IntFormatSpecIiNS_8TypeSpecILc0EEEcEEEEvT_RKT0_; fmt::BasicWriter::FormatInt,char>>(int,fmt::IntFormatSpec,char> const&) ; +0xd4, 0x2e07cc LDR R7, [R5] ; +0xd8, 0x2e07d0 LDR R3, [R5,#4] ; +0xda, 0x2e07d2 ADDS R1, R7, #1; unsigned int ; +0xdc, 0x2e07d4 LDR.W R10, [R10,#0x110] ; +0xde, 0x2e07d6 CMP R1, R3 ; +0xe2, 0x2e07da BHI loc_2E07F2 ; +0xe4, 0x2e07dc LDR R3, [R5,#8] ; +0xe6, 0x2e07de MOVS R2, #0 ; +0xe8, 0x2e07e0 STRB R2, [R3,R7] ; +0xea, 0x2e07e2 ADD R7, SP, #0x218+var_210 ; +0xec, 0x2e07e4 LDR R1, [R5,#8]; char * ; +0xee, 0x2e07e6 ADD R2, SP, #0x218+var_214 ; +0xf0, 0x2e07e8 MOV R0, R7; int ; +0xf2, 0x2e07ea BL sub_776584 ; +0xf4, 0x2e07ec B loc_2E07FA ; +0xf8, 0x2e07f0 MOV R0, R5; int ; +0xfa, 0x2e07f2 BL _ZN3fmt8internal5ArrayIcLj500EE4growEj; fmt::internal::Array::grow(uint) ; +0xfc, 0x2e07f4 B loc_2E07DE ; +0x100, 0x2e07f8 MOV R0, R10 ; +0x102, 0x2e07fa MOV R1, R7 ; +0x104, 0x2e07fc BL _ZN7cocos2d12CCDictionary11valueForKeyERKSs; cocos2d::CCDictionary::valueForKey(std::string const&) ; +0x106, 0x2e07fe BL _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x10a, 0x2e0802 MOV R1, R0; char * ; +0x10e, 0x2e0806 MOV R2, R4 ; +0x110, 0x2e0808 MOV R0, R9; int ; +0x112, 0x2e080a BL sub_776584 ; +0x114, 0x2e080c MOV R0, R7 ; +0x118, 0x2e0810 BL sub_774008 ; +0x11a, 0x2e0812 LDR R0, [R5,#8]; void * ; +0x11e, 0x2e0816 CMP R0, R8 ; +0x120, 0x2e0818 BEQ loc_2E083C ; +0x122, 0x2e081a CBZ R0, loc_2E083C ; +0x124, 0x2e081c BL _ZdaPv; operator delete[](void *) ; +0x126, 0x2e081e B loc_2E083C ; +0x12a, 0x2e0822 MOV R0, R7 ; +0x12c, 0x2e0824 BL sub_774008 ; +0x12e, 0x2e0826 B loc_2E082C ; +0x132, 0x2e082a LDR R0, [R5,#8]; void * ; +0x134, 0x2e082c CMP R0, R8 ; +0x136, 0x2e082e BEQ loc_2E0838 ; +0x138, 0x2e0830 CBZ R0, loc_2E0838 ; +0x13a, 0x2e0832 BL _ZdaPv; operator delete[](void *) ; +0x13c, 0x2e0834 BL __cxa_end_cleanup ; +0x140, 0x2e0838 LDR R2, [SP,#0x218+var_4] ; +0x144, 0x2e083c MOV R0, R9 ; +0x146, 0x2e083e LDR R3, [R6] ; +0x148, 0x2e0840 CMP R2, R3 ; +0x14a, 0x2e0842 BEQ loc_2E084A ; +0x14c, 0x2e0844 BLX __stack_chk_fail ; +0x14e, 0x2e0846 ADD.W SP, SP, #0x218 ; +0x152, 0x2e084a POP.W {R4-R10,PC} ; +0x156, 0x2e084e