{"type": "func", "start": 4298471760, "end": 4298471853, "name": "GJItemIcon::darkenStoreItem_1", "pseudocode": "// \n// GJItemIcon::darkenStoreItem_1 from 0x100357950 to 0x1003579ad (93 bytes)\n// \n// 2 xrefs:\n// > GJShopLayer::init @ 0x10030f736\n// > GJShopLayer::didPurchaseItem @ 0x100310dc0\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:28:52 +0000\n// \n\n__int64 __fastcall GJItemIcon::darkenStoreItem_1(__int64 a1, int a2)\n{\n  __int64 result; // rax\n\n  switch ( a2 )\n  {\n    case 1:\n      result = GJItemIcon::darkenStoreItem(a1, 1318410);\n      break;\n    case 2:\n      result = GJItemIcon::darkenStoreItem(a1, 4331041);\n      break;\n    case 3:\n      result = GJItemIcon::darkenStoreItem(a1, 2626580);\n      break;\n    case 4:\n      result = GJItemIcon::darkenStoreItem(a1, 3284500);\n      break;\n    case 5:\n      result = GJItemIcon::darkenStoreItem(a1, 3289650);\n      break;\n    default:\n      result = GJItemIcon::darkenStoreItem(a1, 1318460);\n      break;\n  }\n  return result;\n}", "assembly": "; \n; GJItemIcon::darkenStoreItem_1 from 0x100357950 to 0x1003579ad (93 bytes)\n; \n; 2 xrefs:\n; > GJShopLayer::init @ 0x10030f736\n; > GJShopLayer::didPurchaseItem @ 0x100310dc0\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:28:52 +0000\n; \npush    rbp                                                            ; +0x0, 0x100357950\nmov     rbp, rsp                                                       ; +0x1, 0x100357951\ndec     esi; switch 5 cases                                            ; +0x4, 0x100357954\ncmp     esi, 4                                                         ; +0x6, 0x100357956\nja      short def_100357969; jumptable 0000000100357969 default case   ; +0x9, 0x100357959\nlea     rax, jpt_100357969                                             ; +0xb, 0x10035795b\nmovsxd  rcx, (jpt_100357969 - 1003579B0h)[rax+rsi*4]                   ; +0x12, 0x100357962\nadd     rcx, rax                                                       ; +0x16, 0x100357966\njmp     rcx; switch jump                                               ; +0x19, 0x100357969\nmov     esi, 141E0Ah; jumptable 0000000100357969 case 1                ; +0x1b, 0x10035796b\npop     rbp                                                            ; +0x20, 0x100357970\njmp     GJItemIcon__darkenStoreItem                                    ; +0x21, 0x100357971\nmov     esi, 323232h; jumptable 0000000100357969 case 5                ; +0x26, 0x100357976\npop     rbp                                                            ; +0x2b, 0x10035797b\njmp     GJItemIcon__darkenStoreItem                                    ; +0x2c, 0x10035797c\nmov     esi, 281414h; jumptable 0000000100357969 case 3                ; +0x31, 0x100357981\npop     rbp                                                            ; +0x36, 0x100357986\njmp     GJItemIcon__darkenStoreItem                                    ; +0x37, 0x100357987\nmov     esi, 321E14h; jumptable 0000000100357969 case 4                ; +0x3c, 0x10035798c\npop     rbp                                                            ; +0x41, 0x100357991\njmp     GJItemIcon__darkenStoreItem                                    ; +0x42, 0x100357992\nmov     esi, 421621h; jumptable 0000000100357969 case 2                ; +0x47, 0x100357997\npop     rbp                                                            ; +0x4c, 0x10035799c\njmp     GJItemIcon__darkenStoreItem                                    ; +0x4d, 0x10035799d\nmov     esi, 141E3Ch; jumptable 0000000100357969 default case          ; +0x52, 0x1003579a2\npop     rbp                                                            ; +0x57, 0x1003579a7\njmp     GJItemIcon__darkenStoreItem                                    ; +0x58, 0x1003579a8", "xrefs": ["GJShopLayer::init @ 0x10030f736", "GJShopLayer::didPurchaseItem @ 0x100310dc0"], "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"}