// // GJBaseGameLayer::getBumpMod from 0x1001080c0 to 0x100108184 (196 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:21:32 +0000 // float __fastcall GJBaseGameLayer::getBumpMod(__int64 a1, __int64 a2, int a3) { if ( a3 == 34 ) { if ( *(_BYTE *)(a2 + 2417) == 1 ) { return *(float *)&dword_100A04DF0[*(float *)(a2 + 2472) < 1.0]; } else if ( *(_BYTE *)(a2 + 2418) == 1 ) { return flt_100A04DE8[*(float *)(a2 + 2472) < 1.0]; } else { return 1.25; } } else if ( a3 == 9 ) { if ( *(_BYTE *)(a2 + 2417) ) { return 0.34999999; } else if ( *(_BYTE *)(a2 + 2418) ) { return 0.40000001; } else if ( *(_BYTE *)(a2 + 2419) || *(_BYTE *)(a2 + 2422) ) { return 0.69999999; } else { return 0.64999998; } } else { return 1.0; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source