{"type": "func", "start": 6442608336, "end": 6442608488, "name": "cocos2d::CCPointArray::reverseInline", "pseudocode": "// \n// cocos2d::CCPointArray::reverseInline from 0x1800266d0 to 0x180026768 (152 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801af3e8\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::CCPointArray::reverseInline(cocos2d::CCPointArray *this)\n{\n  __int64 *v1; // r11\n  __int64 v2; // r10\n  __int64 v3; // rbx\n  __int64 v4; // rdx\n  unsigned __int64 v5; // rcx\n  unsigned __int64 v6; // rax\n  float *v7; // rcx\n  float *v8; // r9\n  int v9; // edx\n  int v10; // r8d\n\n  v1 = *((__int64 **)this + 7);\n  v2 = 0;\n  v3 = (v1[1] - *v1) >> 3;\n  if ( (unsigned int)v3 >> 1 )\n  {\n    do\n    {\n      v4 = *v1;\n      v5 = (v1[1] - *v1) >> 3;\n      if ( v5 <= (unsigned int)v2 || (v6 = (unsigned int)(v3 - v2 - 1), v5 <= v6) )\n        std::vector<void *>::_Xlen();\n      v7 = *(float **)(v4 + 8 * v2);\n      v2 = (unsigned int)(v2 + 1);\n      v8 = *(float **)(v4 + 8 * v6);\n      v9 = (int)*v7;\n      *v7 = *v8;\n      v10 = (int)v7[1];\n      v7[1] = v8[1];\n      *v8 = (float)v9;\n      v8[1] = (float)v10;\n    }\n    while ( (unsigned int)v2 < (unsigned int)v3 >> 1 );\n  }\n}", "assembly": "; \n; cocos2d::CCPointArray::reverseInline from 0x1800266d0 to 0x180026768 (152 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801af3e8\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_0], rbx                                               ; +0x0, 0x1800266d0\npush    rdi                                                            ; +0x5, 0x1800266d5\nsub     rsp, 20h                                                       ; +0x6, 0x1800266d6\nmov     r11, [rcx+38h]                                                 ; +0xa, 0x1800266da\nxor     r10d, r10d                                                     ; +0xe, 0x1800266de\nmov     rbx, [r11+8]                                                   ; +0x11, 0x1800266e1\nsub     rbx, [r11]                                                     ; +0x15, 0x1800266e5\nsar     rbx, 3                                                         ; +0x18, 0x1800266e8\nmov     edi, ebx                                                       ; +0x1c, 0x1800266ec\nshr     edi, 1                                                         ; +0x1e, 0x1800266ee\njz      short loc_180026757                                            ; +0x20, 0x1800266f0\nmov     rdx, [r11]                                                     ; +0x22, 0x1800266f2\nmov     rcx, [r11+8]                                                   ; +0x25, 0x1800266f5\nsub     rcx, rdx                                                       ; +0x29, 0x1800266f9\nmov     r8d, r10d                                                      ; +0x2c, 0x1800266fc\nsar     rcx, 3                                                         ; +0x2f, 0x1800266ff\ncmp     rcx, r8                                                        ; +0x33, 0x180026703\njbe     short loc_180026762                                            ; +0x36, 0x180026706\nmov     eax, ebx                                                       ; +0x38, 0x180026708\nsub     eax, r10d                                                      ; +0x3a, 0x18002670a\ndec     eax                                                            ; +0x3d, 0x18002670d\nmov     r9d, eax                                                       ; +0x3f, 0x18002670f\ncmp     rcx, r9                                                        ; +0x42, 0x180026712\njbe     short loc_180026762                                            ; +0x45, 0x180026715\nmov     rcx, [rdx+r10*8]                                               ; +0x47, 0x180026717\ninc     r10d                                                           ; +0x4b, 0x18002671b\nmov     r9, [rdx+rax*8]                                                ; +0x4e, 0x18002671e\ncvttss2si edx, dword ptr [rcx]                                         ; +0x52, 0x180026722\nmov     eax, [r9]                                                      ; +0x56, 0x180026726\nmov     [rcx], eax                                                     ; +0x59, 0x180026729\nmov     eax, [r9+4]                                                    ; +0x5b, 0x18002672b\ncvttss2si r8d, dword ptr [rcx+4]                                       ; +0x5f, 0x18002672f\nmov     [rcx+4], eax                                                   ; +0x65, 0x180026735\nmovd    xmm0, edx                                                      ; +0x68, 0x180026738\ncvtdq2ps xmm0, xmm0                                                    ; +0x6c, 0x18002673c\nmovd    xmm1, r8d                                                      ; +0x6f, 0x18002673f\nmovss   dword ptr [r9], xmm0                                           ; +0x74, 0x180026744\ncvtdq2ps xmm1, xmm1                                                    ; +0x79, 0x180026749\nmovss   dword ptr [r9+4], xmm1                                         ; +0x7c, 0x18002674c\ncmp     r10d, edi                                                      ; +0x82, 0x180026752\njb      short loc_1800266F2                                            ; +0x85, 0x180026755\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x87, 0x180026757\nadd     rsp, 20h                                                       ; +0x8c, 0x18002675c\npop     rdi                                                            ; +0x90, 0x180026760\nretn                                                                   ; +0x91, 0x180026761\ncall    ?_Xlen@?$vector@PEAXV?$allocator@PEAX@std@@@std@@IEBAXXZ_3; std::vector<void *>::_Xlen(void) ; +0x92, 0x180026762\ndb 0CCh                                                                ; +0x97, 0x180026767", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801af3e8"], "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"}