{"type": "func", "start": 4298137036, "end": 4298137076, "name": "GJItemIcon::darkenStoreItem_1", "pseudocode": "// \n// GJItemIcon::darkenStoreItem_1 from 0x100305dcc to 0x100305df4 (40 bytes)\n// \n// 2 xrefs:\n// > GJShopLayer::init @ 0x10014b500\n// > GJShopLayer::didPurchaseItem @ 0x10014c52c\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\nvoid __fastcall GJItemIcon::darkenStoreItem_1(GJItemIcon *a1, ShopType a2)\n{\n  __int64 v2; // x1\n\n  if ( (unsigned int)(a2 - 1) > 4 )\n    LODWORD(v2) = 1318460;\n  else\n    v2 = qword_100644DE0[a2 - 1];\n  GJItemIcon::darkenStoreItem(a1, (cocos2d::ccColor3B)v2);\n}", "assembly": "; \n; GJItemIcon::darkenStoreItem_1 from 0x100305dcc to 0x100305df4 (40 bytes)\n; \n; 2 xrefs:\n; > GJShopLayer::init @ 0x10014b500\n; > GJShopLayer::didPurchaseItem @ 0x10014c52c\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\nSUB             W8, W1, #1                                             ; +0x0, 0x100305dcc\nCMP             W8, #4                                                 ; +0x4, 0x100305dd0\nB.HI            loc_100305DE8                                          ; +0x8, 0x100305dd4\nADRL            X9, qword_100644DE0                                    ; +0xc, 0x100305dd8\nLDR             X1, [X9,W8,UXTW#3]                                     ; +0x14, 0x100305de0\nB               GJItemIcon__darkenStoreItem                            ; +0x18, 0x100305de4\nMOV             W1, #0x141E3C                                          ; +0x1c, 0x100305de8\nB               GJItemIcon__darkenStoreItem                            ; +0x24, 0x100305df0", "xrefs": ["GJShopLayer::init @ 0x10014b500", "GJShopLayer::didPurchaseItem @ 0x10014c52c"], "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"}