{"type": "func", "start": 4298723472, "end": 4298723508, "name": "GauntletSprite::luminanceForType", "pseudocode": "// \n// GauntletSprite::luminanceForType from 0x100395090 to 0x1003950b4 (36 bytes)\n// \n// 0 xrefs:\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 GauntletSprite::luminanceForType(GauntletSprite *a1, GauntletType a2)\n{\n  unsigned __int32 v2; // esi\n\n  v2 = a2 - 1;\n  if ( v2 > 0xC )\n    return 1.0;\n  else\n    return flt_10081A4C4[v2];\n}", "assembly": "; \n; GauntletSprite::luminanceForType from 0x100395090 to 0x1003950b4 (36 bytes)\n; \n; 0 xrefs:\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     esi                                                            ; +0x0, 0x100395090\ncmp     esi, 0Ch                                                       ; +0x2, 0x100395092\nja      short loc_1003950A6                                            ; +0x5, 0x100395095\nmov     eax, esi                                                       ; +0x7, 0x100395097\nlea     rcx, flt_10081A4C4                                             ; +0x9, 0x100395099\nmovss   xmm0, dword ptr [rcx+rax*4]                                    ; +0x10, 0x1003950a0\nretn                                                                   ; +0x15, 0x1003950a5\npush    rbp                                                            ; +0x16, 0x1003950a6\nmov     rbp, rsp                                                       ; +0x17, 0x1003950a7\nmovss   xmm0, cs:alpha                                                 ; +0x1a, 0x1003950aa\npop     rbp                                                            ; +0x22, 0x1003950b2\nretn                                                                   ; +0x23, 0x1003950b3", "xrefs": [], "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"}