{"type": "func", "start": 4295146208, "end": 4295146283, "name": "GameStatsManager::getSpecialChestKeyForItem", "pseudocode": "// \n// GameStatsManager::getSpecialChestKeyForItem from 0x10002bae0 to 0x10002bb2b (75 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:19:27 +0000\n// \n\n__int64 __fastcall GameStatsManager::getSpecialChestKeyForItem(__int64 a1, __int64 a2, unsigned int a3)\n{\n  __int64 v3; // rbx\n  __int64 result; // rax\n  __int64 v5; // rbx\n  _BYTE v6[16]; // [rsp+8h] [rbp-28h] BYREF\n  void *__p; // [rsp+18h] [rbp-18h]\n\n  v3 = *(_QWORD *)(a1 + 368);\n  GameStatsManager::getItemKey(v6, a2, (unsigned int)a2, a3);\n  result = cocos2d::CCDictionary::objectForKey(v3, v6);\n  if ( (v6[0] & 1) != 0 )\n  {\n    v5 = result;\n    operator delete(__p);\n    return v5;\n  }\n  return result;\n}", "assembly": "; \n; GameStatsManager::getSpecialChestKeyForItem from 0x10002bae0 to 0x10002bb2b (75 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:19:27 +0000\n; \npush    rbp                                                            ; +0x0, 0x10002bae0\nmov     rbp, rsp                                                       ; +0x1, 0x10002bae1\npush    r14                                                            ; +0x4, 0x10002bae4\npush    rbx                                                            ; +0x6, 0x10002bae6\nsub     rsp, 20h                                                       ; +0x7, 0x10002bae7\nmov     ecx, edx                                                       ; +0xb, 0x10002baeb\nmov     edx, esi                                                       ; +0xd, 0x10002baed\nmov     rbx, [rdi+170h]                                                ; +0xf, 0x10002baef\nlea     r14, [rbp+var_28]                                              ; +0x16, 0x10002baf6\nmov     rdi, r14                                                       ; +0x1a, 0x10002bafa\ncall    GameStatsManager__getItemKey                                   ; +0x1d, 0x10002bafd\nmov     rdi, rbx                                                       ; +0x22, 0x10002bb02\nmov     rsi, r14                                                       ; +0x25, 0x10002bb05\ncall    cocos2d__CCDictionary__objectForKey                            ; +0x28, 0x10002bb08\ntest    [rbp+var_28], 1                                                ; +0x2d, 0x10002bb0d\njz      short loc_10002BB22                                            ; +0x31, 0x10002bb11\nmov     rdi, [rbp+__p]; __p                                            ; +0x33, 0x10002bb13\nmov     rbx, rax                                                       ; +0x37, 0x10002bb17\ncall    __ZdlPv; operator delete(void *)                               ; +0x3a, 0x10002bb1a\nmov     rax, rbx                                                       ; +0x3f, 0x10002bb1f\nadd     rsp, 20h                                                       ; +0x42, 0x10002bb22\npop     rbx                                                            ; +0x46, 0x10002bb26\npop     r14                                                            ; +0x47, 0x10002bb27\npop     rbp                                                            ; +0x49, 0x10002bb29\nretn                                                                   ; +0x4a, 0x10002bb2a", "xrefs": [], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}