; ; AchievementManager::getAchievementsWithID from 0x552b3c to 0x552c34 (248 bytes) ; ; 6 xrefs: ; > AchievementManager::isAchievementAvailable @ 0x552c58 ; > AchievementManager::limitForAchievement @ 0x552d70 ; > GameManager::getUnlockForAchievement @ 0x5e9360 ; > GJGarageLayer::titleForUnlock @ 0x7911fc ; > GJGarageLayer::descriptionForUnlock @ 0x7913cc ; > @ 0x853e0 ; ; 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 ; STP X29, X30, [SP,#var_50]! ; +0x0, 0x552b3c MOV X29, SP ; +0x4, 0x552b40 STP X19, X20, [SP,#0x50+var_40] ; +0x8, 0x552b44 ADRP X19, #__stack_chk_guard_ptr@PAGE ; +0xc, 0x552b48 ADD X20, X29, #0x50+var_10 ; +0x10, 0x552b4c STR X21, [SP,#0x50+var_30] ; +0x14, 0x552b50 ADD X2, X29, #0x50+var_20 ; +0x18, 0x552b54 LDR X21, [X0,#0x148] ; +0x1c, 0x552b58 MOV X0, X20; int ; +0x20, 0x552b5c LDR X3, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x24, 0x552b60 LDR X3, [X3] ; +0x28, 0x552b64 STR X3, [X29,#0x50+var_8] ; +0x2c, 0x552b68 BL sub_D153B8 ; +0x30, 0x552b6c MOV X0, X21 ; +0x34, 0x552b70 MOV X1, X20 ; +0x38, 0x552b74 BL _ZN7cocos2d12CCDictionary12objectForKeyERKSs; cocos2d::CCDictionary::objectForKey(std::string const&) ; +0x3c, 0x552b78 ADRP X1, #off_122EFE8@PAGE ; +0x40, 0x552b7c LDR X2, [X29,#0x50+var_10] ; +0x44, 0x552b80 MOV X20, X0 ; +0x48, 0x552b84 SUB X0, X2, #0x18; p ; +0x4c, 0x552b88 LDR X1, [X1,#off_122EFE8@PAGEOFF]; qword_124B6B0 ; +0x50, 0x552b8c CMP X0, X1 ; +0x54, 0x552b90 B.NE loc_552BC0 ; +0x58, 0x552b94 LDR X19, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x5c, 0x552b98 MOV X0, X20 ; +0x60, 0x552b9c LDR X2, [X29,#0x50+var_8] ; +0x64, 0x552ba0 LDR X1, [X19] ; +0x68, 0x552ba4 CMP X2, X1 ; +0x6c, 0x552ba8 B.NE loc_552C04 ; +0x70, 0x552bac LDP X19, X20, [SP,#0x50+var_40] ; +0x74, 0x552bb0 LDR X21, [SP,#0x50+var_30] ; +0x78, 0x552bb4 LDP X29, X30, [SP+0x50+var_50],#0x50 ; +0x7c, 0x552bb8 RET ; +0x80, 0x552bbc ADRP X1, #pthread_create_ptr_0@PAGE ; +0x84, 0x552bc0 LDR X1, [X1,#pthread_create_ptr_0@PAGEOFF]; pthread_create ; +0x88, 0x552bc4 CBZ X1, loc_552BF4 ; +0x8c, 0x552bc8 SUB X2, X2, #8 ; +0x90, 0x552bcc LDAXR W1, [X2] ; +0x94, 0x552bd0 SUB W3, W1, #1 ; +0x98, 0x552bd4 STLXR W4, W3, [X2] ; +0x9c, 0x552bd8 CBNZ W4, loc_552BD0 ; +0xa0, 0x552bdc CMP W1, WZR ; +0xa4, 0x552be0 B.GT loc_552B98 ; +0xa8, 0x552be4 ADD X1, X29, #0x50+var_18 ; +0xac, 0x552be8 BL j__ZdlPv; operator delete(void *) ; +0xb0, 0x552bec B loc_552B98 ; +0xb4, 0x552bf0 LDUR W1, [X2,#-8] ; +0xb8, 0x552bf4 SUB W3, W1, #1 ; +0xbc, 0x552bf8 STUR W3, [X2,#-8] ; +0xc0, 0x552bfc B loc_552BE0 ; +0xc4, 0x552c00 BL .__stack_chk_fail ; +0xc8, 0x552c04 ADRP X1, #off_122EFE8@PAGE ; +0xcc, 0x552c08 MOV X19, X0 ; +0xd0, 0x552c0c LDR X0, [X29,#0x50+var_10] ; +0xd4, 0x552c10 LDR X1, [X1,#off_122EFE8@PAGEOFF]; qword_124B6B0 ; +0xd8, 0x552c14 SUB X0, X0, #0x18 ; +0xdc, 0x552c18 CMP X0, X1 ; +0xe0, 0x552c1c B.EQ loc_552C2C ; +0xe4, 0x552c20 ADD X1, X29, #0x50+var_18 ; +0xe8, 0x552c24 BL sub_4EDFD8 ; +0xec, 0x552c28 MOV X0, X19 ; +0xf0, 0x552c2c BL _Unwind_Resume ; +0xf4, 0x552c30