{"type": "func", "start": 4298605248, "end": 4298605317, "name": "GameManager::lockIcon", "pseudocode": "// \n// GameManager::lockIcon from 0x1003782c0 to 0x100378305 (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::lockIcon(GameManager *a1, int a2, IconType 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::iconKey(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::lockIcon from 0x1003782c0 to 0x100378305 (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, 0x1003782c0\nmov     rbp, rsp                                                       ; +0x1, 0x1003782c1\npush    r14                                                            ; +0x4, 0x1003782c4\npush    rbx                                                            ; +0x6, 0x1003782c6\nsub     rsp, 20h                                                       ; +0x7, 0x1003782c7\nmov     ecx, edx                                                       ; +0xb, 0x1003782cb\nmov     edx, esi                                                       ; +0xd, 0x1003782cd\nmov     rbx, [rdi+190h]                                                ; +0xf, 0x1003782cf\nlea     r14, [rbp+var_28]                                              ; +0x16, 0x1003782d6\nmov     rdi, r14                                                       ; +0x1a, 0x1003782da\ncall    GameManager__iconKey                                           ; +0x1d, 0x1003782dd\nmov     rdi, rbx                                                       ; +0x22, 0x1003782e2\nmov     rsi, r14                                                       ; +0x25, 0x1003782e5\ncall    cocos2d__CCDictionary__removeObjectForKey_1                    ; +0x28, 0x1003782e8\ntest    [rbp+var_28], 1                                                ; +0x2d, 0x1003782ed\njz      short loc_1003782FC                                            ; +0x31, 0x1003782f1\nmov     rdi, [rbp+__p]; __p                                            ; +0x33, 0x1003782f3\ncall    __ZdlPv; operator delete(void *)                               ; +0x37, 0x1003782f7\nadd     rsp, 20h                                                       ; +0x3c, 0x1003782fc\npop     rbx                                                            ; +0x40, 0x100378300\npop     r14                                                            ; +0x41, 0x100378301\npop     rbp                                                            ; +0x43, 0x100378303\nretn                                                                   ; +0x44, 0x100378304", "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"}