{"type": "func", "start": 4295148256, "end": 4295148296, "name": "GJStoreItem::getCurrencyKey", "pseudocode": "// \n// GJStoreItem::getCurrencyKey from 0x10002c2e0 to 0x10002c308 (40 bytes)\n// \n// 3 xrefs:\n// > GJPathPage::onUnlock @ 0x1002ebab4\n// > GJShopLayer::onSelectItem @ 0x100310265\n// > GJShopLayer::didPurchaseItem @ 0x100310d2c\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 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 0x10002c2e0 to 0x10002c308 (40 bytes)\n; \n; 3 xrefs:\n; > GJPathPage::onUnlock @ 0x1002ebab4\n; > GJShopLayer::onSelectItem @ 0x100310265\n; > GJShopLayer::didPurchaseItem @ 0x100310d2c\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, 0x10002c2e0\nmov     rbp, rsp                                                       ; +0x1, 0x10002c2e1\nmov     rax, rdi                                                       ; +0x4, 0x10002c2e4\ncmp     dword ptr [rsi+16Ch], 4                                        ; +0x7, 0x10002c2e7\nmov     ecx, 3932h                                                     ; +0xe, 0x10002c2ee\nmov     edx, 3431h                                                     ; +0x13, 0x10002c2f3\ncmovz   edx, ecx                                                       ; +0x18, 0x10002c2f8\nmov     byte ptr [rdi], 4                                              ; +0x1b, 0x10002c2fb\nmov     [rdi+1], dx                                                    ; +0x1e, 0x10002c2fe\nmov     byte ptr [rdi+3], 0                                            ; +0x22, 0x10002c302\npop     rbp                                                            ; +0x26, 0x10002c306\nretn                                                                   ; +0x27, 0x10002c307", "xrefs": ["GJPathPage::onUnlock @ 0x1002ebab4", "GJShopLayer::onSelectItem @ 0x100310265", "GJShopLayer::didPurchaseItem @ 0x100310d2c"], "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"}