{"type": "func", "start": 6442675664, "end": 6442675793, "name": "cocos2d::CCBlink::update", "pseudocode": "// \n// cocos2d::CCBlink::update from 0x180036dd0 to 0x180036e51 (129 bytes)\n// \n// 5 xrefs:\n// > <???> @ 0x1800e9b30\n// > <???> @ 0x180135e80\n// > <???> @ 0x180135e90\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b09fc\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\nvoid __fastcall cocos2d::CCBlink::update(cocos2d::CCBlink *this, float a2)\n{\n  int v3; // eax\n  cocos2d::CCNode *m_pTarget; // rbx\n  cocos2d::CCNode_vtbl *v5; // rdi\n  __int64 v6; // rdx\n\n  if ( this->m_pTarget )\n  {\n    if ( !((unsigned __int8 (__fastcall *)(cocos2d::CCBlink *))this->isDone)(this) )\n    {\n      v3 = *((_DWORD *)this + 24);\n      m_pTarget = this->m_pTarget;\n      v5 = m_pTarget->__vftable;\n      LOBYTE(v6) = fmodf(a2, 1.0 / (float)v3) > (float)((float)(1.0 / (float)v3) * 0.5);\n      ((void (__fastcall *)(cocos2d::CCNode *, __int64))v5->setVisible)(m_pTarget, v6);\n    }\n  }\n}", "assembly": "; \n; cocos2d::CCBlink::update from 0x180036dd0 to 0x180036e51 (129 bytes)\n; \n; 5 xrefs:\n; > <???> @ 0x1800e9b30\n; > <???> @ 0x180135e80\n; > <???> @ 0x180135e90\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b09fc\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\npush    rbx                                                            ; +0x0, 0x180036dd0\nsub     rsp, 40h                                                       ; +0x2, 0x180036dd2\ncmp     qword ptr [rcx+40h], 0                                         ; +0x6, 0x180036dd6\nmov     rbx, rcx                                                       ; +0xb, 0x180036ddb\nmovaps  [rsp+48h+var_28], xmm7                                         ; +0xe, 0x180036dde\nmovaps  xmm7, xmm1                                                     ; +0x13, 0x180036de3\njz      short loc_180036E46                                            ; +0x16, 0x180036de6\nmov     rax, [rcx]                                                     ; +0x18, 0x180036de8\ncall    qword ptr [rax+48h]                                            ; +0x1b, 0x180036deb\ntest    al, al                                                         ; +0x1e, 0x180036dee\njnz     short loc_180036E46                                            ; +0x20, 0x180036df0\nmov     eax, [rbx+60h]                                                 ; +0x22, 0x180036df2\nxorps   xmm0, xmm0                                                     ; +0x25, 0x180036df5\nmov     rbx, [rbx+40h]                                                 ; +0x28, 0x180036df8\nmov     [rsp+48h+arg_0], rdi                                           ; +0x2c, 0x180036dfc\nmovaps  [rsp+48h+var_18], xmm6                                         ; +0x31, 0x180036e01\nmovss   xmm6, cs:flt_1800E61A8                                         ; +0x36, 0x180036e06\nmov     rdi, [rbx]                                                     ; +0x3e, 0x180036e0e\ncvtsi2ss xmm0, rax                                                     ; +0x41, 0x180036e11\ndivss   xmm6, xmm0                                                     ; +0x46, 0x180036e16\nmovaps  xmm0, xmm7; X                                                  ; +0x4a, 0x180036e1a\nmovaps  xmm1, xmm6; Y                                                  ; +0x4d, 0x180036e1d\ncall    fmodf                                                          ; +0x50, 0x180036e20\nmulss   xmm6, cs:dword_1800E6308                                       ; +0x55, 0x180036e25\nmov     rcx, rbx                                                       ; +0x5d, 0x180036e2d\ncomiss  xmm0, xmm6                                                     ; +0x60, 0x180036e30\nsetnbe  dl                                                             ; +0x63, 0x180036e33\ncall    qword ptr [rdi+140h]                                           ; +0x66, 0x180036e36\nmovaps  xmm6, [rsp+48h+var_18]                                         ; +0x6c, 0x180036e3c\nmov     rdi, [rsp+48h+arg_0]                                           ; +0x71, 0x180036e41\nmovaps  xmm7, [rsp+48h+var_28]                                         ; +0x76, 0x180036e46\nadd     rsp, 40h                                                       ; +0x7b, 0x180036e4b\npop     rbx                                                            ; +0x7f, 0x180036e4f\nretn                                                                   ; +0x80, 0x180036e50", "xrefs": ["<???> @ 0x1800e9b30", "<???> @ 0x180135e80", "<???> @ 0x180135e90", "<???> @ 0x1801438a8", "<???> @ 0x1801b09fc"], "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"}