{"type": "func", "start": 4298470048, "end": 4298470084, "name": "GJItemIcon::scaleForType", "pseudocode": "// \n// GJItemIcon::scaleForType from 0x1003572a0 to 0x1003572c4 (36 bytes)\n// \n// 1 xrefs:\n// > GJPathPage::init @ 0x1002eacb2\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\nfloat __fastcall GJItemIcon::scaleForType(int a1)\n{\n  unsigned int v1; // edi\n\n  v1 = a1 - 1;\n  if ( v1 > 0xE )\n    return 1.0;\n  else\n    return *(float *)&dword_100A08458[v1];\n}", "assembly": "; \n; GJItemIcon::scaleForType from 0x1003572a0 to 0x1003572c4 (36 bytes)\n; \n; 1 xrefs:\n; > GJPathPage::init @ 0x1002eacb2\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; \ndec     edi                                                            ; +0x0, 0x1003572a0\ncmp     edi, 0Eh                                                       ; +0x2, 0x1003572a2\nja      short loc_1003572B6                                            ; +0x5, 0x1003572a5\nmov     eax, edi                                                       ; +0x7, 0x1003572a7\nlea     rcx, dword_100A08458                                           ; +0x9, 0x1003572a9\nmovss   xmm0, dword ptr [rcx+rax*4]                                    ; +0x10, 0x1003572b0\nretn                                                                   ; +0x15, 0x1003572b5\npush    rbp                                                            ; +0x16, 0x1003572b6\nmov     rbp, rsp                                                       ; +0x17, 0x1003572b7\nmovss   xmm0, cs:alpha                                                 ; +0x1a, 0x1003572ba\npop     rbp                                                            ; +0x22, 0x1003572c2\nretn                                                                   ; +0x23, 0x1003572c3", "xrefs": ["GJPathPage::init @ 0x1002eacb2"], "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"}