{"type": "func", "start": 6442480608, "end": 6442480731, "name": "cocos2d::CCArray::reverseObjects", "pseudocode": "// \n// cocos2d::CCArray::reverseObjects from 0x1800073e0 to 0x18000745b (123 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x18013a4ac\n// > <???> @ 0x18013a4bc\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801b7a14\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:18 +0000\n// \n\nvoid __fastcall cocos2d::CCArray::reverseObjects(cocos2d::CCArray *this)\n{\n  int v2; // edi\n  int v3; // ebp\n  unsigned int v4; // edi\n  int i; // ebx\n\n  v2 = **((_DWORD **)this + 7);\n  if ( (unsigned int)v2 > 1 )\n  {\n    v3 = (int)floorf((float)v2 * 0.5);\n    v4 = v2 - 1;\n    for ( i = 0; i < v3; ++i )\n      sub_1800A1D40(*((_QWORD *)this + 7), (unsigned int)i, v4--);\n  }\n}", "assembly": "; \n; cocos2d::CCArray::reverseObjects from 0x1800073e0 to 0x18000745b (123 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x18013a4ac\n; > <???> @ 0x18013a4bc\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801b7a14\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:18 +0000\n; \nmov     [rsp+arg_10], rsi                                              ; +0x0, 0x1800073e0\npush    rdi                                                            ; +0x5, 0x1800073e5\nsub     rsp, 20h                                                       ; +0x6, 0x1800073e6\nmov     rax, [rcx+38h]                                                 ; +0xa, 0x1800073ea\nmov     rsi, rcx                                                       ; +0xe, 0x1800073ee\nmov     edi, [rax]                                                     ; +0x11, 0x1800073f1\ncmp     edi, 1                                                         ; +0x13, 0x1800073f3\njbe     short loc_180007450                                            ; +0x16, 0x1800073f6\nxorps   xmm0, xmm0                                                     ; +0x18, 0x1800073f8\nmov     [rsp+28h+arg_0], rbx                                           ; +0x1b, 0x1800073fb\ncvtsi2ss xmm0, rdi                                                     ; +0x20, 0x180007400\nmov     [rsp+28h+arg_8], rbp                                           ; +0x25, 0x180007405\nmulss   xmm0, cs:dword_1800EC358; X                                    ; +0x2a, 0x18000740a\ncall    floorf                                                         ; +0x32, 0x180007412\ncvttss2si ebp, xmm0                                                    ; +0x37, 0x180007417\ndec     edi                                                            ; +0x3b, 0x18000741b\nxor     ebx, ebx                                                       ; +0x3d, 0x18000741d\ntest    ebp, ebp                                                       ; +0x3f, 0x18000741f\njle     short loc_180007446                                            ; +0x41, 0x180007421\nnop     dword ptr [rax+00h]                                            ; +0x43, 0x180007423\nnop     word ptr [rax+rax+00000000h]                                   ; +0x47, 0x180007427\nmov     rcx, [rsi+38h]                                                 ; +0x50, 0x180007430\nmov     r8d, edi                                                       ; +0x54, 0x180007434\nmov     edx, ebx                                                       ; +0x57, 0x180007437\ncall    sub_1800A1D40                                                  ; +0x59, 0x180007439\ndec     edi                                                            ; +0x5e, 0x18000743e\ninc     ebx                                                            ; +0x60, 0x180007440\ncmp     ebx, ebp                                                       ; +0x62, 0x180007442\njl      short loc_180007430                                            ; +0x64, 0x180007444\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x66, 0x180007446\nmov     rbp, [rsp+28h+arg_8]                                           ; +0x6b, 0x18000744b\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x70, 0x180007450\nadd     rsp, 20h                                                       ; +0x75, 0x180007455\npop     rdi                                                            ; +0x79, 0x180007459\nretn                                                                   ; +0x7a, 0x18000745a", "xrefs": ["<???> @ 0x18013a4ac", "<???> @ 0x18013a4bc", "<???> @ 0x18014cf68", "<???> @ 0x1801b7a14"], "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"}