{"type": "func", "start": 7943388, "end": 7943428, "name": "GJItemIcon::scaleForType", "pseudocode": "// \n// GJItemIcon::scaleForType from 0x7934dc to 0x793504 (40 bytes)\n// \n// 4 xrefs:\n// > GJGarageLayer::getItems @ 0x796bfc\n// > GJGarageLayer::setupSpecialPage @ 0x79726c\n// > GJPathPage::init @ 0xa6fda8\n// > <???> @ 0xa7388\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 GJItemIcon::scaleForType(UnlockType a1)\n{\n  unsigned __int32 v1; // w0\n\n  v1 = a1 - 1;\n  if ( v1 > 0xE )\n    return 1.0;\n  else\n    return flt_ECEDF0[v1];\n}", "assembly": "; \n; GJItemIcon::scaleForType from 0x7934dc to 0x793504 (40 bytes)\n; \n; 4 xrefs:\n; > GJGarageLayer::getItems @ 0x796bfc\n; > GJGarageLayer::setupSpecialPage @ 0x79726c\n; > GJPathPage::init @ 0xa6fda8\n; > <???> @ 0xa7388\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             W0, W0, #1                                             ; +0x0, 0x7934dc\nCMP             W0, #0xE                                               ; +0x4, 0x7934e0\nB.HI            loc_7934FC                                             ; +0x8, 0x7934e4\nADRL            X1, unk_ECEDE0                                         ; +0xc, 0x7934e8\nADD             X1, X1, #(flt_ECEDF0 - 0xECEDE0)                       ; +0x14, 0x7934f0\nLDR             S0, [X1,W0,UXTW#2]                                     ; +0x18, 0x7934f4\nRET                                                                    ; +0x1c, 0x7934f8\nFMOV            S0, #1.0                                               ; +0x20, 0x7934fc\nRET                                                                    ; +0x24, 0x793500", "xrefs": ["GJGarageLayer::getItems @ 0x796bfc", "GJGarageLayer::setupSpecialPage @ 0x79726c", "GJPathPage::init @ 0xa6fda8", "<???> @ 0xa7388"], "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"}