; ; AchievementManager::init from 0x14000a0c0 to 0x14000a14d (141 bytes) ; ; 5 xrefs: ; > AchievementManager::sharedState @ 0x14000a097 ; > AchievementManager::sharedState @ 0x14000a0a9 ; > AchievementManager::sharedState @ 0x14000a088 ; > @ 0x140704740 ; > @ 0x14090efc0 ; ; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! ; ; 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:25:26 +0000 ; push rbx ; +0x0, 0x14000a0c0 sub rsp, 20h ; +0x2, 0x14000a0c2 mov rbx, rcx ; +0x6, 0x14000a0c6 mov edx, 1 ; +0x9, 0x14000a0c9 lea rcx, word_1406ED6F8 ; +0xe, 0x14000a0ce call cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x15, 0x14000a0d5 mov [rbx+180h], rax ; +0x1b, 0x14000a0db mov rcx, rax ; +0x22, 0x14000a0e2 call cs:?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x25, 0x14000a0e5 call cs:?create@CCDictionary@cocos2d@@SAPEAV12@XZ; cocos2d::CCDictionary::create(void) ; +0x2b, 0x14000a0eb mov [rbx+148h], rax ; +0x31, 0x14000a0f1 mov rcx, rax ; +0x38, 0x14000a0f8 call cs:?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x3b, 0x14000a0fb mov rcx, rbx ; +0x41, 0x14000a101 call AchievementManager__addManualAchievements ; +0x44, 0x14000a104 xor edx, edx ; +0x49, 0x14000a109 mov rcx, rbx ; +0x4b, 0x14000a10b call AchievementManager__getAllAchievementsSorted ; +0x4e, 0x14000a10e mov [rbx+140h], rax ; +0x53, 0x14000a113 mov rcx, rax ; +0x5a, 0x14000a11a call cs:?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x5d, 0x14000a11d mov dl, 1 ; +0x63, 0x14000a123 mov rcx, rbx ; +0x65, 0x14000a125 call AchievementManager__getAllAchievementsSorted ; +0x68, 0x14000a128 mov [rbx+170h], rax ; +0x6d, 0x14000a12d mov rcx, rax ; +0x74, 0x14000a134 call cs:?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x77, 0x14000a137 mov rcx, rbx ; +0x7d, 0x14000a13d call AchievementManager__storeAchievementUnlocks ; +0x80, 0x14000a140 mov al, 1 ; +0x85, 0x14000a145 add rsp, 20h ; +0x87, 0x14000a147 pop rbx ; +0x8b, 0x14000a14b retn ; +0x8c, 0x14000a14c