{"type": "func", "start": 4295389168, "end": 4295389204, "name": "GameStatsManager::shopTypeForItemID", "pseudocode": "// \n// GameStatsManager::shopTypeForItemID from 0x100066ff0 to 0x100067014 (36 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\nShopType __fastcall GameStatsManager::shopTypeForItemID(GameStatsManager *a1, int a2)\n{\n  cocos2d::CCObject *v2; // rax\n\n  v2 = cocos2d::CCDictionary::objectForKey(a1->m_storeItems, a2);\n  if ( v2 )\n    return v2[6].m_eObjType;\n  else\n    return 0;\n}", "assembly": "; \n; GameStatsManager::shopTypeForItemID from 0x100066ff0 to 0x100067014 (36 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, 0x100066ff0\nmov     rbp, rsp                                                       ; +0x1, 0x100066ff1\nmov     rdi, [rdi+150h]                                                ; +0x4, 0x100066ff4\nmovsxd  rsi, esi                                                       ; +0xb, 0x100066ffb\ncall    cocos2d__CCDictionary__objectForKey                            ; +0xe, 0x100066ffe\ntest    rax, rax                                                       ; +0x13, 0x100067003\njz      short loc_100067010                                            ; +0x16, 0x100067006\nmov     eax, [rax+16Ch]                                                ; +0x18, 0x100067008\npop     rbp                                                            ; +0x1e, 0x10006700e\nretn                                                                   ; +0x1f, 0x10006700f\nxor     eax, eax                                                       ; +0x20, 0x100067010\npop     rbp                                                            ; +0x22, 0x100067012\nretn                                                                   ; +0x23, 0x100067013", "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"}