{"type": "func", "start": 4296015872, "end": 4296015960, "name": "GJBaseGameLayer::getGroundHeightForMode", "pseudocode": "// \n// GJBaseGameLayer::getGroundHeightForMode from 0x100100000 to 0x100100058 (88 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:20 +0000\n// \n\nfloat __fastcall GJBaseGameLayer::getGroundHeightForMode(__int64 a1, unsigned int a2)\n{\n  float result; // xmm0_4\n  __int64 v3; // rcx\n\n  result = 300.0;\n  while ( a2 - 23 < 2 )\n  {\n    a2 = *(_DWORD *)(a1 + 1256);\n    if ( a2 - 23 < 2 )\n      return 270.0;\n  }\n  if ( a2 <= 0x29 )\n  {\n    v3 = 0x20004080020LL;\n    if ( _bittest64(&v3, a2) )\n      return result;\n    if ( a2 == 16 )\n      return 240.0;\n  }\n  return 270.0;\n}", "assembly": "; \n; GJBaseGameLayer::getGroundHeightForMode from 0x100100000 to 0x100100058 (88 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:20 +0000\n; \nmovss   xmm0, cs:dword_100A03734                                       ; +0x0, 0x100100000\nmovss   xmm1, cs:dword_100A04190                                       ; +0x8, 0x100100008\nlea     eax, [rsi-17h]                                                 ; +0x10, 0x100100010\ncmp     eax, 2                                                         ; +0x13, 0x100100013\njnb     short loc_100100028                                            ; +0x16, 0x100100016\nmov     esi, [rdi+4E8h]                                                ; +0x18, 0x100100018\nlea     eax, [rsi-17h]                                                 ; +0x1e, 0x10010001e\ncmp     eax, 2                                                         ; +0x21, 0x100100021\njnb     short loc_100100010                                            ; +0x24, 0x100100024\njmp     short loc_100100054                                            ; +0x26, 0x100100026\ncmp     esi, 29h ; ')'                                                 ; +0x28, 0x100100028\nja      short loc_100100054                                            ; +0x2b, 0x10010002b\nmov     eax, esi                                                       ; +0x2d, 0x10010002d\nmov     rcx, 20004080020h                                              ; +0x2f, 0x10010002f\nbt      rcx, rax                                                       ; +0x39, 0x100100039\njnb     short loc_100100040                                            ; +0x3d, 0x10010003d\nretn                                                                   ; +0x3f, 0x10010003f\ncmp     rax, 10h                                                       ; +0x40, 0x100100040\njnz     short loc_100100054                                            ; +0x44, 0x100100044\npush    rbp                                                            ; +0x46, 0x100100046\nmov     rbp, rsp                                                       ; +0x47, 0x100100047\nmovss   xmm0, cs:dword_100A03EF4                                       ; +0x4a, 0x10010004a\npop     rbp                                                            ; +0x52, 0x100100052\nretn                                                                   ; +0x53, 0x100100053\nmovaps  xmm0, xmm1                                                     ; +0x54, 0x100100054\nretn                                                                   ; +0x57, 0x100100057", "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"}