{"type": "func", "start": 4298606320, "end": 4298606389, "name": "GameManager::lockColor", "pseudocode": "// \n// GameManager::lockColor from 0x1003786f0 to 0x100378735 (69 bytes)\n// \n// 0 xrefs:\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  double v3; // xmm0_8\n  cocos2d::CCDictionary *m_valueKeeper; // rbx\n  size_t v5[5]; // [rsp+8h] [rbp-28h] BYREF\n\n  m_valueKeeper = a1->m_valueKeeper;\n  GameManager::colorKey(v5, v3, *(__int64 *)&a2, a2, a3);\n  cocos2d::CCDictionary::removeObjectForKey_1((__int64)m_valueKeeper, (char *)v5);\n  if ( (v5[0] & 1) != 0 )\n    operator delete((void *)v5[2]);\n}", "assembly": "; \n; GameManager::lockColor from 0x1003786f0 to 0x100378735 (69 bytes)\n; \n; 0 xrefs:\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\npush    rbp                                                            ; +0x0, 0x1003786f0\nmov     rbp, rsp                                                       ; +0x1, 0x1003786f1\npush    r14                                                            ; +0x4, 0x1003786f4\npush    rbx                                                            ; +0x6, 0x1003786f6\nsub     rsp, 20h                                                       ; +0x7, 0x1003786f7\nmov     ecx, edx                                                       ; +0xb, 0x1003786fb\nmov     edx, esi                                                       ; +0xd, 0x1003786fd\nmov     rbx, [rdi+190h]                                                ; +0xf, 0x1003786ff\nlea     r14, [rbp+var_28]                                              ; +0x16, 0x100378706\nmov     rdi, r14                                                       ; +0x1a, 0x10037870a\ncall    GameManager__colorKey                                          ; +0x1d, 0x10037870d\nmov     rdi, rbx                                                       ; +0x22, 0x100378712\nmov     rsi, r14                                                       ; +0x25, 0x100378715\ncall    cocos2d__CCDictionary__removeObjectForKey_1                    ; +0x28, 0x100378718\ntest    [rbp+var_28], 1                                                ; +0x2d, 0x10037871d\njz      short loc_10037872C                                            ; +0x31, 0x100378721\nmov     rdi, [rbp+__p]; __p                                            ; +0x33, 0x100378723\ncall    __ZdlPv; operator delete(void *)                               ; +0x37, 0x100378727\nadd     rsp, 20h                                                       ; +0x3c, 0x10037872c\npop     rbx                                                            ; +0x40, 0x100378730\npop     r14                                                            ; +0x41, 0x100378731\npop     rbp                                                            ; +0x43, 0x100378733\nretn                                                                   ; +0x44, 0x100378734", "xrefs": [], "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"}