{"type": "func", "start": 4298511776, "end": 4298511804, "name": "GameManager::unlockTypeToIconType", "pseudocode": "// \n// GameManager::unlockTypeToIconType from 0x1003615a0 to 0x1003615bc (28 bytes)\n// \n// 2 xrefs:\n// > GJItemIcon::init @ 0x10035a7fb\n// > ItemInfoPopup::init @ 0x10035b504\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:56 +0000\n// \n\n__int64 __fastcall GameManager::unlockTypeToIconType(__int64 a1, int a2)\n{\n  unsigned int v2; // esi\n  __int64 result; // rax\n\n  v2 = a2 - 4;\n  result = 0;\n  if ( v2 <= 0xB )\n    return dword_100A08618[v2];\n  return result;\n}", "assembly": "; \n; GameManager::unlockTypeToIconType from 0x1003615a0 to 0x1003615bc (28 bytes)\n; \n; 2 xrefs:\n; > GJItemIcon::init @ 0x10035a7fb\n; > ItemInfoPopup::init @ 0x10035b504\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:56 +0000\n; \npush    rbp                                                            ; +0x0, 0x1003615a0\nmov     rbp, rsp                                                       ; +0x1, 0x1003615a1\nadd     esi, 0FFFFFFFCh                                                ; +0x4, 0x1003615a4\nxor     eax, eax                                                       ; +0x7, 0x1003615a7\ncmp     esi, 0Bh                                                       ; +0x9, 0x1003615a9\nja      short loc_1003615BA                                            ; +0xc, 0x1003615ac\nmov     eax, esi                                                       ; +0xe, 0x1003615ae\nlea     rcx, dword_100A08618                                           ; +0x10, 0x1003615b0\nmov     eax, [rcx+rax*4]                                               ; +0x17, 0x1003615b7\npop     rbp                                                            ; +0x1a, 0x1003615ba\nretn                                                                   ; +0x1b, 0x1003615bb", "xrefs": ["GJItemIcon::init @ 0x10035a7fb", "ItemInfoPopup::init @ 0x10035b504"], "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"}