{"type": "func", "start": 5372431264, "end": 5372431477, "name": "PlayerObject::incrementJumps", "pseudocode": "// \n// PlayerObject::incrementJumps from 0x14038cba0 to 0x14038cc75 (213 bytes)\n// \n// 3 xrefs:\n// > PlayerObject::updateJump @ 0x14038be5a\n// > PlayerObject::ringJump @ 0x140399cd2\n// > <???> @ 0x1406d6038\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\n// Hidden C++ exception states: #wind=1\nvoid PlayerObject::incrementJumps(PlayerObject *a1)\n{\n  __int64 v2; // rax\n  __int64 v3; // rax\n  _DWORD *v4; // rdi\n  int v5; // ebx\n  float v6; // xmm0_4\n  void *v7; // [rsp+30h] [rbp+8h]\n\n  if ( a1->m_playEffects )\n  {\n    v2 = qword_1406C2ED8;\n    if ( !qword_1406C2ED8 )\n    {\n      v7 = operator new(0x668u);\n      qword_1406C2ED8 = sub_14017AB00((__int64)v7);\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n      v2 = qword_1406C2ED8;\n    }\n    v3 = *(_QWORD *)(v2 + 520);\n    *(_BYTE *)(v3 + 14708) = 1;\n    ++*(_DWORD *)(v3 + 14712);\n    ++*(_DWORD *)(v3 + 14704);\n    v4 = *(_DWORD **)(v3 + 2168);\n    v5 = v4[191] - v4[192] + 1;\n    v4[193] = v5;\n    v6 = (float)((float)rand() / 32767.0) * 1000.0;\n    v4[192] = (int)v6;\n    v4[191] = v5 + (int)v6;\n    a1->m_hasEverJumped = 1;\n  }\n}", "assembly": "; \n; PlayerObject::incrementJumps from 0x14038cba0 to 0x14038cc75 (213 bytes)\n; \n; 3 xrefs:\n; > PlayerObject::updateJump @ 0x14038be5a\n; > PlayerObject::ringJump @ 0x140399cd2\n; > <???> @ 0x1406d6038\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\nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x14038cba0\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x14038cba5\npush    rdi                                                            ; +0xa, 0x14038cbaa\nsub     rsp, 20h                                                       ; +0xb, 0x14038cbab\nmov     rsi, rcx                                                       ; +0xf, 0x14038cbaf\ncmp     byte ptr [rcx+7E4h], 0                                         ; +0x12, 0x14038cbb2\njz      loc_14038CC65                                                  ; +0x19, 0x14038cbb9\nmov     rax, cs:qword_1406C2ED8                                        ; +0x1f, 0x14038cbbf\ntest    rax, rax                                                       ; +0x26, 0x14038cbc6\njnz     short loc_14038CBFA                                            ; +0x29, 0x14038cbc9\nmov     ecx, 668h; Size                                                ; +0x2b, 0x14038cbcb\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x30, 0x14038cbd0\nmov     [rsp+28h+arg_0], rax                                           ; +0x35, 0x14038cbd5\nmov     rcx, rax                                                       ; +0x3a, 0x14038cbda\ncall    sub_14017AB00                                                  ; +0x3d, 0x14038cbdd\nnop                                                                    ; +0x42, 0x14038cbe2\nmov     cs:qword_1406C2ED8, rax                                        ; +0x43, 0x14038cbe3\nmov     rdx, [rax]                                                     ; +0x4a, 0x14038cbea\nmov     rcx, rax                                                       ; +0x4d, 0x14038cbed\ncall    qword ptr [rdx+48h]                                            ; +0x50, 0x14038cbf0\nmov     rax, cs:qword_1406C2ED8                                        ; +0x53, 0x14038cbf3\nmov     rax, [rax+208h]                                                ; +0x5a, 0x14038cbfa\nmov     byte ptr [rax+3974h], 1                                        ; +0x61, 0x14038cc01\ninc     dword ptr [rax+3978h]                                          ; +0x68, 0x14038cc08\ninc     dword ptr [rax+3970h]                                          ; +0x6e, 0x14038cc0e\nmov     rdi, [rax+878h]                                                ; +0x74, 0x14038cc14\nmov     ebx, [rdi+2FCh]                                                ; +0x7b, 0x14038cc1b\nsub     ebx, [rdi+300h]                                                ; +0x81, 0x14038cc21\ninc     ebx                                                            ; +0x87, 0x14038cc27\nmov     [rdi+304h], ebx                                                ; +0x89, 0x14038cc29\ncall    cs:rand                                                        ; +0x8f, 0x14038cc2f\nmovd    xmm0, eax                                                      ; +0x95, 0x14038cc35\ncvtdq2ps xmm0, xmm0                                                    ; +0x99, 0x14038cc39\ndivss   xmm0, cs:dword_140623644                                       ; +0x9c, 0x14038cc3c\nmulss   xmm0, cs:dword_14062350C                                       ; +0xa4, 0x14038cc44\ncvttss2si eax, xmm0                                                    ; +0xac, 0x14038cc4c\nmov     [rdi+300h], eax                                                ; +0xb0, 0x14038cc50\nadd     eax, ebx                                                       ; +0xb6, 0x14038cc56\nmov     [rdi+2FCh], eax                                                ; +0xb8, 0x14038cc58\nmov     byte ptr [rsi+0A88h], 1                                        ; +0xbe, 0x14038cc5e\nmov     rbx, [rsp+28h+arg_8]                                           ; +0xc5, 0x14038cc65\nmov     rsi, [rsp+28h+arg_10]                                          ; +0xca, 0x14038cc6a\nadd     rsp, 20h                                                       ; +0xcf, 0x14038cc6f\npop     rdi                                                            ; +0xd3, 0x14038cc73\nretn                                                                   ; +0xd4, 0x14038cc74", "xrefs": ["PlayerObject::updateJump @ 0x14038be5a", "PlayerObject::ringJump @ 0x140399cd2", "<???> @ 0x1406d6038"], "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"}