{"type": "func", "start": 4298563200, "end": 4298563236, "name": "GJItemIcon::scaleForType", "pseudocode": "// \n// GJItemIcon::scaleForType from 0x10036de80 to 0x10036dea4 (36 bytes)\n// \n// 1 xrefs:\n// > GJPathPage::init @ 0x1002fffd2\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\nfloat __fastcall GJItemIcon::scaleForType(UnlockType a1)\n{\n  unsigned __int32 v1; // edi\n\n  v1 = a1 - 1;\n  if ( v1 > 0xE )\n    return 1.0;\n  else\n    return *(float *)&dword_100819F28[v1];\n}", "assembly": "; \n; GJItemIcon::scaleForType from 0x10036de80 to 0x10036dea4 (36 bytes)\n; \n; 1 xrefs:\n; > GJPathPage::init @ 0x1002fffd2\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\ndec     edi                                                            ; +0x0, 0x10036de80\ncmp     edi, 0Eh                                                       ; +0x2, 0x10036de82\nja      short loc_10036DE96                                            ; +0x5, 0x10036de85\nmov     eax, edi                                                       ; +0x7, 0x10036de87\nlea     rcx, dword_100819F28                                           ; +0x9, 0x10036de89\nmovss   xmm0, dword ptr [rcx+rax*4]                                    ; +0x10, 0x10036de90\nretn                                                                   ; +0x15, 0x10036de95\npush    rbp                                                            ; +0x16, 0x10036de96\nmov     rbp, rsp                                                       ; +0x17, 0x10036de97\nmovss   xmm0, cs:alpha                                                 ; +0x1a, 0x10036de9a\npop     rbp                                                            ; +0x22, 0x10036dea2\nretn                                                                   ; +0x23, 0x10036dea3", "xrefs": ["GJPathPage::init @ 0x1002fffd2"], "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"}