; ; AchievementManager::limitForAchievement from 0x1000e8538 to 0x1000e85b8 (128 bytes) ; ; 1 xrefs: ; > ItemInfoPopup::init @ 0x1003084b4 ; ; 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 ; SUB SP, SP, #0x40 ; +0x0, 0x1000e8538 STP X20, X19, [SP,#0x30+var_10] ; +0x4, 0x1000e853c STP X29, X30, [SP,#0x30+var_s0] ; +0x8, 0x1000e8540 ADD X29, SP, #0x30 ; +0xc, 0x1000e8544 LDRSB W8, [X1,#0x17] ; +0x10, 0x1000e8548 TBZ W8, #0x1F, loc_1000E8554 ; +0x14, 0x1000e854c LDR X1, [X1] ; +0x18, 0x1000e8550 BL AchievementManager__getAchievementsWithID ; +0x1c, 0x1000e8554 CBZ X0, loc_1000E85A8 ; +0x20, 0x1000e8558 MOV X19, X0 ; +0x24, 0x1000e855c ADRL X1, aLimits; "limits" ; +0x28, 0x1000e8560 ADD X0, SP, #0x30+__p; int ; +0x30, 0x1000e8568 BL sub_100009900 ; +0x34, 0x1000e856c ADD X1, SP, #0x30+__p ; +0x38, 0x1000e8570 MOV X0, X19 ; +0x3c, 0x1000e8574 BL cocos2d__CCDictionary__objectForKey_1 ; +0x40, 0x1000e8578 MOV X19, X0 ; +0x44, 0x1000e857c LDRSB W8, [SP,#0x30+var_11] ; +0x48, 0x1000e8580 TBNZ W8, #0x1F, loc_1000E8598 ; +0x4c, 0x1000e8584 CBZ X19, loc_1000E85A4 ; +0x50, 0x1000e8588 MOV X0, X19 ; +0x54, 0x1000e858c BL cocos2d__CCString__intValue ; +0x58, 0x1000e8590 B loc_1000E85A8 ; +0x5c, 0x1000e8594 LDR X0, [SP,#0x30+__p]; __p ; +0x60, 0x1000e8598 BL __ZdlPv; operator delete(void *) ; +0x64, 0x1000e859c CBNZ X19, loc_1000E858C ; +0x68, 0x1000e85a0 MOV W0, #0 ; +0x6c, 0x1000e85a4 LDP X29, X30, [SP,#0x30+var_s0] ; +0x70, 0x1000e85a8 LDP X20, X19, [SP,#0x30+var_10] ; +0x74, 0x1000e85ac ADD SP, SP, #0x40 ; '@' ; +0x78, 0x1000e85b0 RET ; +0x7c, 0x1000e85b4