{"type": "func", "start": 6442629952, "end": 6442630137, "name": "cocos2d::CCGridAction::startWithTarget", "pseudocode": "// \n// cocos2d::CCGridAction::startWithTarget from 0x18002bb40 to 0x18002bbf9 (185 bytes)\n// \n// 26 xrefs:\n// > cocos2d::CCShuffleTiles::startWithTarget @ 0x18003bb7e\n// > cocos2d::CCSplitRows::startWithTarget @ 0x18003be09\n// > cocos2d::CCTurnOffTiles::startWithTarget @ 0x18003be52\n// > <???> @ 0x1800ee518\n// > <???> @ 0x1800ee5a0\n// > <???> @ 0x1800ee880\n// > <???> @ 0x1800ee908\n// > <???> @ 0x1800ee990\n// > <???> @ 0x1800eea28\n// > <???> @ 0x1800eeac0\n// > <???> @ 0x1800eeb48\n// > <???> @ 0x1800eebd0\n// > <???> @ 0x1800eec58\n// > <???> @ 0x1800eece0\n// > <???> @ 0x1800eed68\n// > <???> @ 0x1800f0148\n// > <???> @ 0x1800f02e0\n// > <???> @ 0x1800f0370\n// > <???> @ 0x1800f0490\n// > <???> @ 0x1800f0528\n// > <???> @ 0x1800f05c0\n// > <???> @ 0x1800f0658\n// > <???> @ 0x1800f0780\n// > <???> @ 0x1800f0810\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801b9c70\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:31 +0000\n// \n\nvoid __fastcall cocos2d::CCGridAction::startWithTarget(cocos2d::CCGridAction *this, struct cocos2d::CCNode *a2)\n{\n  __int64 v3; // rax\n  __int64 v4; // rdi\n  __int64 v5; // rsi\n  __int64 v6; // rax\n  char v7; // dl\n  cocos2d::CCGridBase *v8; // rax\n\n  cocos2d::CCActionInterval::startWithTarget(this, a2);\n  v3 = (*(__int64 (__fastcall **)(cocos2d::CCGridAction *))(*(_QWORD *)this + 120LL))(this);\n  v4 = *((_QWORD *)this + 8);\n  v5 = v3;\n  v6 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 600LL))(v4);\n  if ( !v6 )\n  {\nLABEL_9:\n    (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v4 + 608LL))(v4, v5);\n    v8 = (cocos2d::CCGridBase *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 600LL))(v4);\n    cocos2d::CCGridBase::setActive(v8, 1);\n    return;\n  }\n  v7 = *(_BYTE *)(v6 + 56);\n  if ( *(int *)(v6 + 60) <= 0 )\n  {\n    if ( v7 )\n      cocos2d::CCGridBase::setActive((cocos2d::CCGridBase *)v6, 0);\n    goto LABEL_9;\n  }\n  if ( v7 && *(float *)(v6 + 64) == *((float *)this + 24) && *(float *)(v6 + 68) == *((float *)this + 25) )\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)v6 + 80LL))(v6);\n}", "assembly": "; \n; cocos2d::CCGridAction::startWithTarget from 0x18002bb40 to 0x18002bbf9 (185 bytes)\n; \n; 26 xrefs:\n; > cocos2d::CCShuffleTiles::startWithTarget @ 0x18003bb7e\n; > cocos2d::CCSplitRows::startWithTarget @ 0x18003be09\n; > cocos2d::CCTurnOffTiles::startWithTarget @ 0x18003be52\n; > <???> @ 0x1800ee518\n; > <???> @ 0x1800ee5a0\n; > <???> @ 0x1800ee880\n; > <???> @ 0x1800ee908\n; > <???> @ 0x1800ee990\n; > <???> @ 0x1800eea28\n; > <???> @ 0x1800eeac0\n; > <???> @ 0x1800eeb48\n; > <???> @ 0x1800eebd0\n; > <???> @ 0x1800eec58\n; > <???> @ 0x1800eece0\n; > <???> @ 0x1800eed68\n; > <???> @ 0x1800f0148\n; > <???> @ 0x1800f02e0\n; > <???> @ 0x1800f0370\n; > <???> @ 0x1800f0490\n; > <???> @ 0x1800f0528\n; > <???> @ 0x1800f05c0\n; > <???> @ 0x1800f0658\n; > <???> @ 0x1800f0780\n; > <???> @ 0x1800f0810\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801b9c70\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:31 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x18002bb40\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x18002bb45\npush    rdi                                                            ; +0xa, 0x18002bb4a\nsub     rsp, 20h                                                       ; +0xb, 0x18002bb4b\nmov     rbx, rcx                                                       ; +0xf, 0x18002bb4f\ncall    ?startWithTarget@CCActionInterval@cocos2d@@UEAAXPEAVCCNode@2@@Z; cocos2d::CCActionInterval::startWithTarget(cocos2d::CCNode *) ; +0x12, 0x18002bb52\nmov     rax, [rbx]                                                     ; +0x17, 0x18002bb57\nmov     rcx, rbx                                                       ; +0x1a, 0x18002bb5a\ncall    qword ptr [rax+78h]                                            ; +0x1d, 0x18002bb5d\nmov     rdi, [rbx+40h]                                                 ; +0x20, 0x18002bb60\nmov     rsi, rax                                                       ; +0x24, 0x18002bb64\nmov     rcx, rdi                                                       ; +0x27, 0x18002bb67\nmov     rdx, [rdi]                                                     ; +0x2a, 0x18002bb6a\ncall    qword ptr [rdx+258h]                                           ; +0x2d, 0x18002bb6d\nmov     rcx, rax; this                                                 ; +0x33, 0x18002bb73\ntest    rax, rax                                                       ; +0x36, 0x18002bb76\njz      short loc_18002BBC4                                            ; +0x39, 0x18002bb79\ncmp     dword ptr [rax+3Ch], 0                                         ; +0x3b, 0x18002bb7b\nmovzx   edx, byte ptr [rax+38h]                                        ; +0x3f, 0x18002bb7f\njle     short loc_18002BBB9                                            ; +0x43, 0x18002bb83\ntest    dl, dl                                                         ; +0x45, 0x18002bb85\njz      short loc_18002BBE9                                            ; +0x47, 0x18002bb87\nmovss   xmm0, dword ptr [rax+40h]                                      ; +0x49, 0x18002bb89\nucomiss xmm0, dword ptr [rbx+60h]                                      ; +0x4e, 0x18002bb8e\njp      short loc_18002BBE9                                            ; +0x52, 0x18002bb92\njnz     short loc_18002BBE9                                            ; +0x54, 0x18002bb94\nmovss   xmm0, dword ptr [rax+44h]                                      ; +0x56, 0x18002bb96\nucomiss xmm0, dword ptr [rbx+64h]                                      ; +0x5b, 0x18002bb9b\njp      short loc_18002BBE9                                            ; +0x5f, 0x18002bb9f\njnz     short loc_18002BBE9                                            ; +0x61, 0x18002bba1\nmov     rax, [rax]                                                     ; +0x63, 0x18002bba3\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x66, 0x18002bba6\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x6b, 0x18002bbab\nadd     rsp, 20h                                                       ; +0x70, 0x18002bbb0\npop     rdi                                                            ; +0x74, 0x18002bbb4\njmp     qword ptr [rax+50h]                                            ; +0x75, 0x18002bbb5\ntest    dl, dl                                                         ; +0x79, 0x18002bbb9\njz      short loc_18002BBC4                                            ; +0x7b, 0x18002bbbb\nxor     edx, edx; bool                                                 ; +0x7d, 0x18002bbbd\ncall    ?setActive@CCGridBase@cocos2d@@QEAAX_N@Z; cocos2d::CCGridBase::setActive(bool) ; +0x7f, 0x18002bbbf\nmov     rax, [rdi]                                                     ; +0x84, 0x18002bbc4\nmov     rdx, rsi                                                       ; +0x87, 0x18002bbc7\nmov     rcx, rdi                                                       ; +0x8a, 0x18002bbca\ncall    qword ptr [rax+260h]                                           ; +0x8d, 0x18002bbcd\nmov     rax, [rdi]                                                     ; +0x93, 0x18002bbd3\nmov     rcx, rdi                                                       ; +0x96, 0x18002bbd6\ncall    qword ptr [rax+258h]                                           ; +0x99, 0x18002bbd9\nmov     rcx, rax; this                                                 ; +0x9f, 0x18002bbdf\nmov     dl, 1; bool                                                    ; +0xa2, 0x18002bbe2\ncall    ?setActive@CCGridBase@cocos2d@@QEAAX_N@Z; cocos2d::CCGridBase::setActive(bool) ; +0xa4, 0x18002bbe4\nmov     rbx, [rsp+28h+arg_0]                                           ; +0xa9, 0x18002bbe9\nmov     rsi, [rsp+28h+arg_8]                                           ; +0xae, 0x18002bbee\nadd     rsp, 20h                                                       ; +0xb3, 0x18002bbf3\npop     rdi                                                            ; +0xb7, 0x18002bbf7\nretn                                                                   ; +0xb8, 0x18002bbf8", "xrefs": ["cocos2d::CCShuffleTiles::startWithTarget @ 0x18003bb7e", "cocos2d::CCSplitRows::startWithTarget @ 0x18003be09", "cocos2d::CCTurnOffTiles::startWithTarget @ 0x18003be52", "<???> @ 0x1800ee518", "<???> @ 0x1800ee5a0", "<???> @ 0x1800ee880", "<???> @ 0x1800ee908", "<???> @ 0x1800ee990", "<???> @ 0x1800eea28", "<???> @ 0x1800eeac0", "<???> @ 0x1800eeb48", "<???> @ 0x1800eebd0", "<???> @ 0x1800eec58", "<???> @ 0x1800eece0", "<???> @ 0x1800eed68", "<???> @ 0x1800f0148", "<???> @ 0x1800f02e0", "<???> @ 0x1800f0370", "<???> @ 0x1800f0490", "<???> @ 0x1800f0528", "<???> @ 0x1800f05c0", "<???> @ 0x1800f0658", "<???> @ 0x1800f0780", "<???> @ 0x1800f0810", "<???> @ 0x18014cf68", "<???> @ 0x1801b9c70"], "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"}