{"type": "func", "start": 4298190740, "end": 4298190812, "name": "GameManager::lockColor", "pseudocode": "// \n// GameManager::lockColor from 0x100312f94 to 0x100312fdc (72 bytes)\n// \n// 1 xrefs:\n// > GameManager::resetAchievement @ 0x100313868\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n// local variable allocation has failed, the output may be wrong!\nvoid __fastcall GameManager::lockColor(GameManager *a1, int a2, UnlockType a3)\n{\n  cocos2d::CCDictionary *m_valueKeeper; // x19\n  void *__p[2]; // [xsp+8h] [xbp-28h] BYREF\n  char v5; // [xsp+1Fh] [xbp-11h]\n\n  m_valueKeeper = a1->m_valueKeeper;\n  GameManager::colorKey(*(__int64 *)&a2, a3, __p);\n  cocos2d::CCDictionary::removeObjectForKey_1((int)m_valueKeeper, (char *)__p);\n  if ( v5 < 0 )\n    operator delete(__p[0]);\n}", "assembly": "; \n; GameManager::lockColor from 0x100312f94 to 0x100312fdc (72 bytes)\n; \n; 1 xrefs:\n; > GameManager::resetAchievement @ 0x100313868\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nSUB             SP, SP, #0x40                                          ; +0x0, 0x100312f94\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x100312f98\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x100312f9c\nADD             X29, SP, #0x30                                         ; +0xc, 0x100312fa0\nLDR             X19, [X0,#0x190]                                       ; +0x10, 0x100312fa4\nADD             X8, SP, #0x30+__p                                      ; +0x14, 0x100312fa8\nBL              GameManager__colorKey                                  ; +0x18, 0x100312fac\nADD             X1, SP, #0x30+__p; __s                                 ; +0x1c, 0x100312fb0\nMOV             X0, X19; int                                           ; +0x20, 0x100312fb4\nBL              cocos2d__CCDictionary__removeObjectForKey_1            ; +0x24, 0x100312fb8\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0x28, 0x100312fbc\nTBZ             W8, #0x1F, loc_100312FCC                               ; +0x2c, 0x100312fc0\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0x30, 0x100312fc4\nBL              __ZdlPv; operator delete(void *)                       ; +0x34, 0x100312fc8\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x38, 0x100312fcc\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x3c, 0x100312fd0\nADD             SP, SP, #0x40 ; '@'                                    ; +0x40, 0x100312fd4\nRET                                                                    ; +0x44, 0x100312fd8", "xrefs": ["GameManager::resetAchievement @ 0x100313868"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}