{"type": "func", "start": 4298135808, "end": 4298135840, "name": "GJItemIcon::scaleForType", "pseudocode": "// \n// GJItemIcon::scaleForType from 0x100305900 to 0x100305920 (32 bytes)\n// \n// 2 xrefs:\n// > GJGarageLayer::getItems @ 0x100305764\n// > GJPathPage::init @ 0x1003b95c8\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  float result; // s0\n\n  result = 1.0;\n  if ( (unsigned int)(a1 - 1) <= 0xE )\n    return flt_100644DA0[a1 - 1];\n  return result;\n}", "assembly": "; \n; GJItemIcon::scaleForType from 0x100305900 to 0x100305920 (32 bytes)\n; \n; 2 xrefs:\n; > GJGarageLayer::getItems @ 0x100305764\n; > GJPathPage::init @ 0x1003b95c8\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             W8, W0, #1                                             ; +0x0, 0x100305900\nFMOV            S0, #1.0                                               ; +0x4, 0x100305904\nCMP             W8, #0xE                                               ; +0x8, 0x100305908\nB.HI            locret_10030591C                                       ; +0xc, 0x10030590c\nADRL            X9, flt_100644DA0                                      ; +0x10, 0x100305910\nLDR             S0, [X9,W8,UXTW#2]                                     ; +0x18, 0x100305918\nRET                                                                    ; +0x1c, 0x10030591c", "xrefs": ["GJGarageLayer::getItems @ 0x100305764", "GJPathPage::init @ 0x1003b95c8"], "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"}