{"type": "func", "start": 6442844624, "end": 6442844710, "name": "cocos2d::CCProgressTimer::setMidpoint", "pseudocode": "// \n// cocos2d::CCProgressTimer::setMidpoint from 0x1800601d0 to 0x180060226 (86 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x1801000d8\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bd4f8\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 11:21:50 +0000\n// \n\n_DWORD *__fastcall cocos2d::CCProgressTimer::setMidpoint(__int64 a1, __int64 a2)\n{\n  float *v4; // rax\n  _DWORD *v5; // rax\n  float v7; // [rsp+30h] [rbp+8h] BYREF\n  char v8; // [rsp+40h] [rbp+18h] BYREF\n\n  v4 = kmVec2Fill(&v7, 1.0, 1.0);\n  v5 = (_DWORD *)cocos2d::ccpClamp(&v8, a2, dword_1801B2438, v4);\n  return cocos2d::CCSize::operator=((_DWORD *)(a1 + 376), v5);\n}", "assembly": "; \n; cocos2d::CCProgressTimer::setMidpoint from 0x1800601d0 to 0x180060226 (86 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x1801000d8\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bd4f8\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 11:21:50 +0000\n; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x1800601d0\npush    rdi                                                            ; +0x5, 0x1800601d5\nsub     rsp, 20h                                                       ; +0x6, 0x1800601d6\nmovss   xmm1, cs:flt_1800EC208                                         ; +0xa, 0x1800601da\nmov     rdi, rcx                                                       ; +0x12, 0x1800601e2\nmovaps  xmm2, xmm1                                                     ; +0x15, 0x1800601e5\nlea     rcx, [rsp+28h+arg_0]                                           ; +0x18, 0x1800601e8\nmov     rbx, rdx                                                       ; +0x1d, 0x1800601ed\ncall    kmVec2Fill                                                     ; +0x20, 0x1800601f0\nmov     r9, rax                                                        ; +0x25, 0x1800601f5\nlea     r8, dword_1801B2438                                            ; +0x28, 0x1800601f8\nmov     rdx, rbx                                                       ; +0x2f, 0x1800601ff\nlea     rcx, [rsp+28h+arg_10]                                          ; +0x32, 0x180060202\ncall    ?ccpClamp@cocos2d@@YA?AVCCPoint@1@AEBV21@00@Z; cocos2d::ccpClamp(cocos2d::CCPoint const &,cocos2d::CCPoint const &,cocos2d::CCPoint const &) ; +0x37, 0x180060207\nmov     rdx, rax                                                       ; +0x3c, 0x18006020c\nlea     rcx, [rdi+178h]                                                ; +0x3f, 0x18006020f\ncall    ??4CCSize@cocos2d@@QEAAAEAV01@AEBVCCPoint@1@@Z; cocos2d::CCSize::operator=(cocos2d::CCPoint const &) ; +0x46, 0x180060216\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x4b, 0x18006021b\nadd     rsp, 20h                                                       ; +0x50, 0x180060220\npop     rdi                                                            ; +0x54, 0x180060224\nretn                                                                   ; +0x55, 0x180060225", "xrefs": ["<???> @ 0x1801000d8", "<???> @ 0x18014cf68", "<???> @ 0x1801bd4f8"], "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"}