{"type": "func", "start": 4296188176, "end": 4296188372, "name": "GJBaseGameLayer::getBumpMod", "pseudocode": "// \n// GJBaseGameLayer::getBumpMod from 0x10012a110 to 0x10012a1d4 (196 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 GJBaseGameLayer::getBumpMod(GJBaseGameLayer *a1, PlayerObject *a2, int a3)\n{\n  if ( a3 == 34 )\n  {\n    if ( a2->m_isShip )\n    {\n      return *(float *)&dword_100816A08[a2->m_vehicleSize < 1.0];\n    }\n    else if ( a2->m_isBird )\n    {\n      return flt_100816A00[a2->m_vehicleSize < 1.0];\n    }\n    else\n    {\n      return 1.25;\n    }\n  }\n  else if ( a3 == 9 )\n  {\n    if ( a2->m_isShip )\n    {\n      return 0.34999999;\n    }\n    else if ( a2->m_isBird )\n    {\n      return 0.40000001;\n    }\n    else if ( a2->m_isBall || a2->m_isSpider )\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 0x10012a110 to 0x10012a1d4 (196 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\npush    rbp                                                            ; +0x0, 0x10012a110\nmov     rbp, rsp                                                       ; +0x1, 0x10012a111\ncmp     edx, 22h ; '\"'                                                 ; +0x4, 0x10012a114\njz      short loc_10012A131                                            ; +0x7, 0x10012a117\ncmp     edx, 9                                                         ; +0x9, 0x10012a119\njnz     short loc_10012A15C                                            ; +0xc, 0x10012a11c\ncmp     byte ptr [rsi+969h], 0                                         ; +0xe, 0x10012a11e\njz      short loc_10012A166                                            ; +0x15, 0x10012a125\nmovss   xmm0, cs:dword_100816000                                       ; +0x17, 0x10012a127\npop     rbp                                                            ; +0x1f, 0x10012a12f\nretn                                                                   ; +0x20, 0x10012a130\ncmp     byte ptr [rsi+969h], 1                                         ; +0x21, 0x10012a131\njnz     short loc_10012A179                                            ; +0x28, 0x10012a138\nmovss   xmm0, cs:alpha                                                 ; +0x2a, 0x10012a13a\nxor     eax, eax                                                       ; +0x32, 0x10012a142\nucomiss xmm0, dword ptr [rsi+9A0h]                                     ; +0x34, 0x10012a144\nsetnbe  al                                                             ; +0x3b, 0x10012a14b\nlea     rcx, dword_100816A08                                           ; +0x3e, 0x10012a14e\nmovss   xmm0, dword ptr [rcx+rax*4]                                    ; +0x45, 0x10012a155\npop     rbp                                                            ; +0x4a, 0x10012a15a\nretn                                                                   ; +0x4b, 0x10012a15b\nmovss   xmm0, cs:alpha                                                 ; +0x4c, 0x10012a15c\npop     rbp                                                            ; +0x54, 0x10012a164\nretn                                                                   ; +0x55, 0x10012a165\ncmp     byte ptr [rsi+96Ah], 0                                         ; +0x56, 0x10012a166\njz      short loc_10012A1A4                                            ; +0x5d, 0x10012a16d\nmovss   xmm0, cs:dword_100815004                                       ; +0x5f, 0x10012a16f\npop     rbp                                                            ; +0x67, 0x10012a177\nretn                                                                   ; +0x68, 0x10012a178\ncmp     byte ptr [rsi+96Ah], 1                                         ; +0x69, 0x10012a179\njnz     short loc_10012A1C0                                            ; +0x70, 0x10012a180\nmovss   xmm0, cs:alpha                                                 ; +0x72, 0x10012a182\nxor     eax, eax                                                       ; +0x7a, 0x10012a18a\nucomiss xmm0, dword ptr [rsi+9A0h]                                     ; +0x7c, 0x10012a18c\nsetnbe  al                                                             ; +0x83, 0x10012a193\nlea     rcx, flt_100816A00                                             ; +0x86, 0x10012a196\nmovss   xmm0, dword ptr [rcx+rax*4]                                    ; +0x8d, 0x10012a19d\npop     rbp                                                            ; +0x92, 0x10012a1a2\nretn                                                                   ; +0x93, 0x10012a1a3\ncmp     byte ptr [rsi+96Bh], 0                                         ; +0x94, 0x10012a1a4\njnz     short loc_10012A1CA                                            ; +0x9b, 0x10012a1ab\ncmp     byte ptr [rsi+96Eh], 0                                         ; +0x9d, 0x10012a1ad\njnz     short loc_10012A1CA                                            ; +0xa4, 0x10012a1b4\nmovss   xmm0, cs:dword_100815C14                                       ; +0xa6, 0x10012a1b6\npop     rbp                                                            ; +0xae, 0x10012a1be\nretn                                                                   ; +0xaf, 0x10012a1bf\nmovss   xmm0, cs:dword_10081689C                                       ; +0xb0, 0x10012a1c0\npop     rbp                                                            ; +0xb8, 0x10012a1c8\nretn                                                                   ; +0xb9, 0x10012a1c9\nmovss   xmm0, cs:dword_100814FC4                                       ; +0xba, 0x10012a1ca\npop     rbp                                                            ; +0xc2, 0x10012a1d2\nretn                                                                   ; +0xc3, 0x10012a1d3", "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"}