{"type": "func", "start": 6442835936, "end": 6442836022, "name": "cocos2d::CCProgressTimer::setMidpoint", "pseudocode": "// \n// cocos2d::CCProgressTimer::setMidpoint from 0x18005dfe0 to 0x18005e036 (86 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x1800f9bd0\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b3234\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_DWORD *__fastcall cocos2d::CCProgressTimer::setMidpoint(cocos2d::CCProgressTimer *this, struct cocos2d::CCPoint a2)\n{\n  const struct cocos2d::CCPoint *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 = (const struct cocos2d::CCPoint *)kmVec2Fill(&v7, 1.0, 1.0);\n  v5 = (_DWORD *)cocos2d::ccpClamp(\n                   (cocos2d *)&v8,\n                   *(const struct cocos2d::CCPoint **)&a2,\n                   (const struct cocos2d::CCPoint *)dword_1801A83F8,\n                   v4);\n  return cocos2d::CCSize::operator=(&this->m_tMidpoint, v5);\n}", "assembly": "; \n; cocos2d::CCProgressTimer::setMidpoint from 0x18005dfe0 to 0x18005e036 (86 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x1800f9bd0\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b3234\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, 0x18005dfe0\npush    rdi                                                            ; +0x5, 0x18005dfe5\nsub     rsp, 20h                                                       ; +0x6, 0x18005dfe6\nmovss   xmm1, cs:flt_1800E61A8                                         ; +0xa, 0x18005dfea\nmov     rdi, rcx                                                       ; +0x12, 0x18005dff2\nmovaps  xmm2, xmm1                                                     ; +0x15, 0x18005dff5\nlea     rcx, [rsp+28h+arg_0]                                           ; +0x18, 0x18005dff8\nmov     rbx, rdx                                                       ; +0x1d, 0x18005dffd\ncall    kmVec2Fill                                                     ; +0x20, 0x18005e000\nmov     r9, rax                                                        ; +0x25, 0x18005e005\nlea     r8, dword_1801A83F8                                            ; +0x28, 0x18005e008\nmov     rdx, rbx                                                       ; +0x2f, 0x18005e00f\nlea     rcx, [rsp+28h+arg_10]                                          ; +0x32, 0x18005e012\ncall    ?ccpClamp@cocos2d@@YA?AVCCPoint@1@AEBV21@00@Z; cocos2d::ccpClamp(cocos2d::CCPoint const &,cocos2d::CCPoint const &,cocos2d::CCPoint const &) ; +0x37, 0x18005e017\nmov     rdx, rax                                                       ; +0x3c, 0x18005e01c\nlea     rcx, [rdi+178h]                                                ; +0x3f, 0x18005e01f\ncall    ??4CCSize@cocos2d@@QEAAAEAV01@AEBVCCPoint@1@@Z; cocos2d::CCSize::operator=(cocos2d::CCPoint const &) ; +0x46, 0x18005e026\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x4b, 0x18005e02b\nadd     rsp, 20h                                                       ; +0x50, 0x18005e030\npop     rdi                                                            ; +0x54, 0x18005e034\nretn                                                                   ; +0x55, 0x18005e035", "xrefs": ["<???> @ 0x1800f9bd0", "<???> @ 0x1801438a8", "<???> @ 0x1801b3234"], "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"}