{"type": "func", "start": 4298564912, "end": 4298565005, "name": "GJItemIcon::darkenStoreItem_1", "pseudocode": "// \n// GJItemIcon::darkenStoreItem_1 from 0x10036e530 to 0x10036e58d (93 bytes)\n// \n// 2 xrefs:\n// > GJShopLayer::init @ 0x1003240d6\n// > GJShopLayer::didPurchaseItem @ 0x1003256b0\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  switch ( a2 )\n  {\n    case Secret:\n      GJItemIcon::darkenStoreItem(a1, (cocos2d::ccColor3B)1318410);\n      break;\n    case Community:\n      GJItemIcon::darkenStoreItem(a1, (cocos2d::ccColor3B)4331041);\n      break;\n    case Mechanic:\n      GJItemIcon::darkenStoreItem(a1, (cocos2d::ccColor3B)2626580);\n      break;\n    case Diamond:\n      GJItemIcon::darkenStoreItem(a1, (cocos2d::ccColor3B)3284500);\n      break;\n    case Paths:\n      GJItemIcon::darkenStoreItem(a1, (cocos2d::ccColor3B)3289650);\n      break;\n    default:\n      GJItemIcon::darkenStoreItem(a1, (cocos2d::ccColor3B)1318460);\n      break;\n  }\n}", "assembly": "; \n; GJItemIcon::darkenStoreItem_1 from 0x10036e530 to 0x10036e58d (93 bytes)\n; \n; 2 xrefs:\n; > GJShopLayer::init @ 0x1003240d6\n; > GJShopLayer::didPurchaseItem @ 0x1003256b0\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, 0x10036e530\nmov     rbp, rsp                                                       ; +0x1, 0x10036e531\ndec     esi; switch 5 cases                                            ; +0x4, 0x10036e534\ncmp     esi, 4                                                         ; +0x6, 0x10036e536\nja      short def_10036E549; jumptable 000000010036E549 default case   ; +0x9, 0x10036e539\nlea     rax, jpt_10036E549                                             ; +0xb, 0x10036e53b\nmovsxd  rcx, (jpt_10036E549 - 10036E590h)[rax+rsi*4]                   ; +0x12, 0x10036e542\nadd     rcx, rax                                                       ; +0x16, 0x10036e546\njmp     rcx; switch jump                                               ; +0x19, 0x10036e549\nmov     esi, 141E0Ah; jumptable 000000010036E549 case 1                ; +0x1b, 0x10036e54b\npop     rbp                                                            ; +0x20, 0x10036e550\njmp     GJItemIcon__darkenStoreItem                                    ; +0x21, 0x10036e551\nmov     esi, 323232h; jumptable 000000010036E549 case 5                ; +0x26, 0x10036e556\npop     rbp                                                            ; +0x2b, 0x10036e55b\njmp     GJItemIcon__darkenStoreItem                                    ; +0x2c, 0x10036e55c\nmov     esi, 281414h; jumptable 000000010036E549 case 3                ; +0x31, 0x10036e561\npop     rbp                                                            ; +0x36, 0x10036e566\njmp     GJItemIcon__darkenStoreItem                                    ; +0x37, 0x10036e567\nmov     esi, 321E14h; jumptable 000000010036E549 case 4                ; +0x3c, 0x10036e56c\npop     rbp                                                            ; +0x41, 0x10036e571\njmp     GJItemIcon__darkenStoreItem                                    ; +0x42, 0x10036e572\nmov     esi, 421621h; jumptable 000000010036E549 case 2                ; +0x47, 0x10036e577\npop     rbp                                                            ; +0x4c, 0x10036e57c\njmp     GJItemIcon__darkenStoreItem                                    ; +0x4d, 0x10036e57d\nmov     esi, 141E3Ch; jumptable 000000010036E549 default case          ; +0x52, 0x10036e582\npop     rbp                                                            ; +0x57, 0x10036e587\njmp     GJItemIcon__darkenStoreItem                                    ; +0x58, 0x10036e588", "xrefs": ["GJShopLayer::init @ 0x1003240d6", "GJShopLayer::didPurchaseItem @ 0x1003256b0"], "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"}