{"type": "func", "start": 4295149088, "end": 4295149124, "name": "GameStatsManager::shopTypeForItemID", "pseudocode": "// \n// GameStatsManager::shopTypeForItemID from 0x10002c620 to 0x10002c644 (36 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::shopTypeForItemID(__int64 a1)\n{\n  __int64 v1; // rax\n\n  v1 = cocos2d::CCDictionary::objectForKey_1(*(_QWORD *)(a1 + 336));\n  if ( v1 )\n    return *(unsigned int *)(v1 + 364);\n  else\n    return 0;\n}", "assembly": "; \n; GameStatsManager::shopTypeForItemID from 0x10002c620 to 0x10002c644 (36 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, 0x10002c620\nmov     rbp, rsp                                                       ; +0x1, 0x10002c621\nmov     rdi, [rdi+150h]                                                ; +0x4, 0x10002c624\nmovsxd  rsi, esi                                                       ; +0xb, 0x10002c62b\ncall    cocos2d__CCDictionary__objectForKey_1                          ; +0xe, 0x10002c62e\ntest    rax, rax                                                       ; +0x13, 0x10002c633\njz      short loc_10002C640                                            ; +0x16, 0x10002c636\nmov     eax, [rax+16Ch]                                                ; +0x18, 0x10002c638\npop     rbp                                                            ; +0x1e, 0x10002c63e\nretn                                                                   ; +0x1f, 0x10002c63f\nxor     eax, eax                                                       ; +0x20, 0x10002c640\npop     rbp                                                            ; +0x22, 0x10002c642\nretn                                                                   ; +0x23, 0x10002c643", "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"}