{"type": "func", "start": 4295388336, "end": 4295388376, "name": "GJStoreItem::getCurrencyKey", "pseudocode": "// \n// GJStoreItem::getCurrencyKey from 0x100066cb0 to 0x100066cd8 (40 bytes)\n// \n// 3 xrefs:\n// > GJPathPage::onUnlock @ 0x100300dd4\n// > GJShopLayer::onSelectItem @ 0x100324c05\n// > GJShopLayer::didPurchaseItem @ 0x10032561c\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__int64 __fastcall GJStoreItem::getCurrencyKey(__int64 a1, __int64 a2)\n{\n  __int64 result; // rax\n  __int16 v3; // dx\n\n  result = a1;\n  v3 = 13361;\n  if ( *(_DWORD *)(a2 + 364) == 4 )\n    v3 = 14642;\n  *(_BYTE *)a1 = 4;\n  *(_WORD *)(a1 + 1) = v3;\n  *(_BYTE *)(a1 + 3) = 0;\n  return result;\n}", "assembly": "; \n; GJStoreItem::getCurrencyKey from 0x100066cb0 to 0x100066cd8 (40 bytes)\n; \n; 3 xrefs:\n; > GJPathPage::onUnlock @ 0x100300dd4\n; > GJShopLayer::onSelectItem @ 0x100324c05\n; > GJShopLayer::didPurchaseItem @ 0x10032561c\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, 0x100066cb0\nmov     rbp, rsp                                                       ; +0x1, 0x100066cb1\nmov     rax, rdi                                                       ; +0x4, 0x100066cb4\ncmp     dword ptr [rsi+16Ch], 4                                        ; +0x7, 0x100066cb7\nmov     ecx, 3932h                                                     ; +0xe, 0x100066cbe\nmov     edx, 3431h                                                     ; +0x13, 0x100066cc3\ncmovz   edx, ecx                                                       ; +0x18, 0x100066cc8\nmov     byte ptr [rdi], 4                                              ; +0x1b, 0x100066ccb\nmov     [rdi+1], dx                                                    ; +0x1e, 0x100066cce\nmov     byte ptr [rdi+3], 0                                            ; +0x22, 0x100066cd2\npop     rbp                                                            ; +0x26, 0x100066cd6\nretn                                                                   ; +0x27, 0x100066cd7", "xrefs": ["GJPathPage::onUnlock @ 0x100300dd4", "GJShopLayer::onSelectItem @ 0x100324c05", "GJShopLayer::didPurchaseItem @ 0x10032561c"], "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"}