{"type": "func", "start": 4296048832, "end": 4296049028, "name": "GJBaseGameLayer::getBumpMod", "pseudocode": "// \n// GJBaseGameLayer::getBumpMod from 0x1001080c0 to 0x100108184 (196 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: pc, 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 12:21:32 +0000\n// \n\nfloat __fastcall GJBaseGameLayer::getBumpMod(__int64 a1, __int64 a2, int a3)\n{\n  if ( a3 == 34 )\n  {\n    if ( *(_BYTE *)(a2 + 2417) == 1 )\n    {\n      return *(float *)&dword_100A04DF0[*(float *)(a2 + 2472) < 1.0];\n    }\n    else if ( *(_BYTE *)(a2 + 2418) == 1 )\n    {\n      return flt_100A04DE8[*(float *)(a2 + 2472) < 1.0];\n    }\n    else\n    {\n      return 1.25;\n    }\n  }\n  else if ( a3 == 9 )\n  {\n    if ( *(_BYTE *)(a2 + 2417) )\n    {\n      return 0.34999999;\n    }\n    else if ( *(_BYTE *)(a2 + 2418) )\n    {\n      return 0.40000001;\n    }\n    else if ( *(_BYTE *)(a2 + 2419) || *(_BYTE *)(a2 + 2422) )\n    {\n      return 0.69999999;\n    }\n    else\n    {\n      return 0.64999998;\n    }\n  }\n  else\n  {\n    return 1.0;\n  }\n}", "assembly": "; \n; GJBaseGameLayer::getBumpMod from 0x1001080c0 to 0x100108184 (196 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: pc, 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 12:21:32 +0000\n; \npush    rbp                                                            ; +0x0, 0x1001080c0\nmov     rbp, rsp                                                       ; +0x1, 0x1001080c1\ncmp     edx, 22h ; '\"'                                                 ; +0x4, 0x1001080c4\njz      short loc_1001080E1                                            ; +0x7, 0x1001080c7\ncmp     edx, 9                                                         ; +0x9, 0x1001080c9\njnz     short loc_10010810C                                            ; +0xc, 0x1001080cc\ncmp     byte ptr [rsi+971h], 0                                         ; +0xe, 0x1001080ce\njz      short loc_100108116                                            ; +0x15, 0x1001080d5\nmovss   xmm0, cs:dword_100A03FDC                                       ; +0x17, 0x1001080d7\npop     rbp                                                            ; +0x1f, 0x1001080df\nretn                                                                   ; +0x20, 0x1001080e0\ncmp     byte ptr [rsi+971h], 1                                         ; +0x21, 0x1001080e1\njnz     short loc_100108129                                            ; +0x28, 0x1001080e8\nmovss   xmm0, cs:alpha                                                 ; +0x2a, 0x1001080ea\nxor     eax, eax                                                       ; +0x32, 0x1001080f2\nucomiss xmm0, dword ptr [rsi+9A8h]                                     ; +0x34, 0x1001080f4\nsetnbe  al                                                             ; +0x3b, 0x1001080fb\nlea     rcx, dword_100A04DF0                                           ; +0x3e, 0x1001080fe\nmovss   xmm0, dword ptr [rcx+rax*4]                                    ; +0x45, 0x100108105\npop     rbp                                                            ; +0x4a, 0x10010810a\nretn                                                                   ; +0x4b, 0x10010810b\nmovss   xmm0, cs:alpha                                                 ; +0x4c, 0x10010810c\npop     rbp                                                            ; +0x54, 0x100108114\nretn                                                                   ; +0x55, 0x100108115\ncmp     byte ptr [rsi+972h], 0                                         ; +0x56, 0x100108116\njz      short loc_100108154                                            ; +0x5d, 0x10010811d\nmovss   xmm0, cs:dword_100A040AC                                       ; +0x5f, 0x10010811f\npop     rbp                                                            ; +0x67, 0x100108127\nretn                                                                   ; +0x68, 0x100108128\ncmp     byte ptr [rsi+972h], 1                                         ; +0x69, 0x100108129\njnz     short loc_100108170                                            ; +0x70, 0x100108130\nmovss   xmm0, cs:alpha                                                 ; +0x72, 0x100108132\nxor     eax, eax                                                       ; +0x7a, 0x10010813a\nucomiss xmm0, dword ptr [rsi+9A8h]                                     ; +0x7c, 0x10010813c\nsetnbe  al                                                             ; +0x83, 0x100108143\nlea     rcx, flt_100A04DE8                                             ; +0x86, 0x100108146\nmovss   xmm0, dword ptr [rcx+rax*4]                                    ; +0x8d, 0x10010814d\npop     rbp                                                            ; +0x92, 0x100108152\nretn                                                                   ; +0x93, 0x100108153\ncmp     byte ptr [rsi+973h], 0                                         ; +0x94, 0x100108154\njnz     short loc_10010817A                                            ; +0x9b, 0x10010815b\ncmp     byte ptr [rsi+976h], 0                                         ; +0x9d, 0x10010815d\njnz     short loc_10010817A                                            ; +0xa4, 0x100108164\nmovss   xmm0, cs:dword_100A03F84                                       ; +0xa6, 0x100108166\npop     rbp                                                            ; +0xae, 0x10010816e\nretn                                                                   ; +0xaf, 0x10010816f\nmovss   xmm0, cs:dword_100A04C70                                       ; +0xb0, 0x100108170\npop     rbp                                                            ; +0xb8, 0x100108178\nretn                                                                   ; +0xb9, 0x100108179\nmovss   xmm0, cs:dword_100A0374C                                       ; +0xba, 0x10010817a\npop     rbp                                                            ; +0xc2, 0x100108182\nretn                                                                   ; +0xc3, 0x100108183", "xrefs": [], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}