// // GJBaseGameLayer::getBumpMod from 0x100286104 to 0x1002861c8 (196 bytes) // // 1 xrefs: // > GJBaseGameLayer::bumpPlayer @ 0x10028486c // // This function is hookable on this platform (idp: arm, 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 11:01:57 +0000 // float __fastcall GJBaseGameLayer::getBumpMod(__int64 a1, __int64 a2, int a3) { float result; // s0 _BOOL4 v4; // w8 float *v5; // x9 if ( a3 == 34 ) { if ( *(_BYTE *)(a2 + 2417) == 1 ) { v4 = *(float *)(a2 + 2472) < 1.0; v5 = (float *)&unk_100763248; } else { result = 1.25; if ( *(_BYTE *)(a2 + 2418) != 1 ) return result; v4 = *(float *)(a2 + 2472) < 1.0; v5 = (float *)&unk_100763240; } return v5[v4]; } else { result = 1.0; if ( a3 == 9 ) { if ( (*(_BYTE *)(a2 + 2417) & 1) != 0 ) { return 0.35; } else if ( (*(_BYTE *)(a2 + 2418) & 1) != 0 ) { return 0.4; } else if ( (*(_BYTE *)(a2 + 2419) & 1) != 0 ) { return 0.7; } else { result = 0.65; if ( *(_BYTE *)(a2 + 2422) ) return 0.7; } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source