{"type": "func", "start": 8761352, "end": 8761528, "name": "GJBaseGameLayer::getBumpMod", "pseudocode": "// \n// GJBaseGameLayer::getBumpMod from 0x85b008 to 0x85b0b8 (176 bytes)\n// \n// 2 xrefs:\n// > GJBaseGameLayer::bumpPlayer @ 0x88b450\n// > <???> @ 0x67d88\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 GJBaseGameLayer::getBumpMod(GJBaseGameLayer *a1, PlayerObject *a2, int a3)\n{\n  if ( a3 == 9 )\n  {\n    if ( a2->m_isShip )\n    {\n      return 0.35;\n    }\n    else if ( a2->m_isBird )\n    {\n      return 0.4;\n    }\n    else if ( a2->m_isBall || a2->m_isSpider )\n    {\n      return 0.7;\n    }\n    else\n    {\n      return 0.65;\n    }\n  }\n  else if ( a3 == 34 )\n  {\n    if ( a2->m_isShip )\n    {\n      if ( a2->m_vehicleSize < 1.0 )\n        return 0.95;\n      else\n        return 0.63;\n    }\n    else if ( a2->m_isBird )\n    {\n      if ( a2->m_vehicleSize < 1.0 )\n        return 0.98;\n      else\n        return 0.6;\n    }\n    else\n    {\n      return 1.25;\n    }\n  }\n  else\n  {\n    return 1.0;\n  }\n}", "assembly": "; \n; GJBaseGameLayer::getBumpMod from 0x85b008 to 0x85b0b8 (176 bytes)\n; \n; 2 xrefs:\n; > GJBaseGameLayer::bumpPlayer @ 0x88b450\n; > <???> @ 0x67d88\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\nCMP             W2, #9                                                 ; +0x0, 0x85b008\nB.EQ            loc_85B040                                             ; +0x4, 0x85b00c\nCMP             W2, #0x22 ; '\"'                                        ; +0x8, 0x85b010\nB.EQ            loc_85B020                                             ; +0xc, 0x85b014\nFMOV            S0, #1.0                                               ; +0x10, 0x85b018\nRET                                                                    ; +0x14, 0x85b01c\nLDRB            W0, [X1,#0x991]                                        ; +0x18, 0x85b020\nCBZ             W0, loc_85B068                                         ; +0x1c, 0x85b024\nLDR             S1, [X1,#0x9C8]                                        ; +0x20, 0x85b028\nFMOV            S0, #1.0                                               ; +0x24, 0x85b02c\nFCMPE           S1, S0                                                 ; +0x28, 0x85b030\nB.MI            loc_85B0B0                                             ; +0x2c, 0x85b034\nLDR             S0, =0x3F2147AE                                        ; +0x30, 0x85b038\nRET                                                                    ; +0x34, 0x85b03c\nLDRB            W0, [X1,#0x991]                                        ; +0x38, 0x85b040\nCBNZ            W0, loc_85B088                                         ; +0x3c, 0x85b044\nLDRB            W0, [X1,#0x992]                                        ; +0x40, 0x85b048\nCBNZ            W0, loc_85B098                                         ; +0x44, 0x85b04c\nLDRB            W0, [X1,#0x993]                                        ; +0x48, 0x85b050\nCBNZ            W0, loc_85B060                                         ; +0x4c, 0x85b054\nLDRB            W0, [X1,#0x996]                                        ; +0x50, 0x85b058\nCBZ             W0, loc_85B0A0                                         ; +0x54, 0x85b05c\nLDR             S0, =0x3F333333                                        ; +0x58, 0x85b060\nRET                                                                    ; +0x5c, 0x85b064\nLDRB            W0, [X1,#0x992]                                        ; +0x60, 0x85b068\nCBZ             W0, loc_85B090                                         ; +0x64, 0x85b06c\nLDR             S1, [X1,#0x9C8]                                        ; +0x68, 0x85b070\nFMOV            S0, #1.0                                               ; +0x6c, 0x85b074\nFCMPE           S1, S0                                                 ; +0x70, 0x85b078\nB.MI            loc_85B0A8                                             ; +0x74, 0x85b07c\nLDR             S0, =0x3F19999A                                        ; +0x78, 0x85b080\nRET                                                                    ; +0x7c, 0x85b084\nLDR             S0, =0x3EB33333                                        ; +0x80, 0x85b088\nRET                                                                    ; +0x84, 0x85b08c\nFMOV            S0, #1.25                                              ; +0x88, 0x85b090\nRET                                                                    ; +0x8c, 0x85b094\nLDR             S0, =0x3ECCCCCD                                        ; +0x90, 0x85b098\nRET                                                                    ; +0x94, 0x85b09c\nLDR             S0, =0x3F266666                                        ; +0x98, 0x85b0a0\nRET                                                                    ; +0x9c, 0x85b0a4\nLDR             S0, =0x3F7AE148                                        ; +0xa0, 0x85b0a8\nRET                                                                    ; +0xa4, 0x85b0ac\nLDR             S0, =0x3F733333                                        ; +0xa8, 0x85b0b0\nRET                                                                    ; +0xac, 0x85b0b4", "xrefs": ["GJBaseGameLayer::bumpPlayer @ 0x88b450", "<???> @ 0x67d88"], "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"}