{"type": "func", "start": 4298778128, "end": 4298778160, "name": "GJItemIcon::scaleForType", "pseudocode": "// \n// GJItemIcon::scaleForType from 0x1003a2610 to 0x1003a2630 (32 bytes)\n// \n// 2 xrefs:\n// > GJGarageLayer::getItems @ 0x1003a2474\n// > sub_10045F6C4 @ 0x100460280\n// \n// This function is hookable on this platform (idp: arm, 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 11:03:47 +0000\n// \n\nfloat __fastcall GJItemIcon::scaleForType(int a1)\n{\n  float result; // s0\n\n  result = 1.0;\n  if ( (unsigned int)(a1 - 1) <= 0xE )\n    return flt_10076DCF8[a1 - 1];\n  return result;\n}", "assembly": "; \n; GJItemIcon::scaleForType from 0x1003a2610 to 0x1003a2630 (32 bytes)\n; \n; 2 xrefs:\n; > GJGarageLayer::getItems @ 0x1003a2474\n; > sub_10045F6C4 @ 0x100460280\n; \n; This function is hookable on this platform (idp: arm, 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 11:03:47 +0000\n; \nSUB             W8, W0, #1                                             ; +0x0, 0x1003a2610\nFMOV            S0, #1.0                                               ; +0x4, 0x1003a2614\nCMP             W8, #0xE                                               ; +0x8, 0x1003a2618\nB.HI            locret_1003A262C                                       ; +0xc, 0x1003a261c\nADRL            X9, flt_10076DCF8                                      ; +0x10, 0x1003a2620\nLDR             S0, [X9,W8,UXTW#2]                                     ; +0x18, 0x1003a2628\nRET                                                                    ; +0x1c, 0x1003a262c", "xrefs": ["GJGarageLayer::getItems @ 0x1003a2474", "sub_10045F6C4 @ 0x100460280"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}