{"type": "func", "start": 6442628416, "end": 6442628518, "name": "cocos2d::CCReuseGrid::startWithTarget", "pseudocode": "// \n// cocos2d::CCReuseGrid::startWithTarget from 0x18002b540 to 0x18002b5a6 (102 bytes)\n// \n// 5 xrefs:\n// > <???> @ 0x1800e87a0\n// > <???> @ 0x1801349e8\n// > <???> @ 0x1801349f8\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801afb68\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::CCReuseGrid::startWithTarget(cocos2d::CCReuseGrid *this, struct cocos2d::CCNode *a2)\n{\n  int v3; // ebx\n\n  cocos2d::CCAction::startWithTarget(this, a2);\n  if ( ((__int64 (__fastcall *)(cocos2d::CCNode *))this->m_pTarget->getGrid)(this->m_pTarget) )\n  {\n    if ( *(_BYTE *)(((__int64 (__fastcall *)(cocos2d::CCNode *))this->m_pTarget->getGrid)(this->m_pTarget) + 56) )\n    {\n      v3 = *((_DWORD *)this + 22)\n         + *(_DWORD *)(((__int64 (__fastcall *)(cocos2d::CCNode *))this->m_pTarget->getGrid)(this->m_pTarget) + 60);\n      *(_DWORD *)(((__int64 (__fastcall *)(cocos2d::CCNode *))this->m_pTarget->getGrid)(this->m_pTarget) + 60) = v3;\n    }\n  }\n}", "assembly": "; \n; cocos2d::CCReuseGrid::startWithTarget from 0x18002b540 to 0x18002b5a6 (102 bytes)\n; \n; 5 xrefs:\n; > <???> @ 0x1800e87a0\n; > <???> @ 0x1801349e8\n; > <???> @ 0x1801349f8\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801afb68\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    rdi                                                            ; +0x0, 0x18002b540\nsub     rsp, 20h                                                       ; +0x2, 0x18002b542\nmov     rdi, rcx                                                       ; +0x6, 0x18002b546\ncall    ?startWithTarget@CCAction@cocos2d@@UEAAXPEAVCCNode@2@@Z; cocos2d::CCAction::startWithTarget(cocos2d::CCNode *) ; +0x9, 0x18002b549\nmov     rcx, [rdi+40h]                                                 ; +0xe, 0x18002b54e\nmov     rax, [rcx]                                                     ; +0x12, 0x18002b552\ncall    qword ptr [rax+248h]                                           ; +0x15, 0x18002b555\ntest    rax, rax                                                       ; +0x1b, 0x18002b55b\njz      short loc_18002B5A0                                            ; +0x1e, 0x18002b55e\nmov     rcx, [rdi+40h]                                                 ; +0x20, 0x18002b560\nmov     rax, [rcx]                                                     ; +0x24, 0x18002b564\ncall    qword ptr [rax+248h]                                           ; +0x27, 0x18002b567\ncmp     byte ptr [rax+38h], 0                                          ; +0x2d, 0x18002b56d\njz      short loc_18002B5A0                                            ; +0x31, 0x18002b571\nmov     rcx, [rdi+40h]                                                 ; +0x33, 0x18002b573\nmov     [rsp+28h+arg_0], rbx                                           ; +0x37, 0x18002b577\nmov     rax, [rcx]                                                     ; +0x3c, 0x18002b57c\ncall    qword ptr [rax+248h]                                           ; +0x3f, 0x18002b57f\nmov     rcx, [rdi+40h]                                                 ; +0x45, 0x18002b585\nmov     ebx, [rax+3Ch]                                                 ; +0x49, 0x18002b589\nmov     rax, [rcx]                                                     ; +0x4c, 0x18002b58c\nadd     ebx, [rdi+58h]                                                 ; +0x4f, 0x18002b58f\ncall    qword ptr [rax+248h]                                           ; +0x52, 0x18002b592\nmov     [rax+3Ch], ebx                                                 ; +0x58, 0x18002b598\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x5b, 0x18002b59b\nadd     rsp, 20h                                                       ; +0x60, 0x18002b5a0\npop     rdi                                                            ; +0x64, 0x18002b5a4\nretn                                                                   ; +0x65, 0x18002b5a5", "xrefs": ["<???> @ 0x1800e87a0", "<???> @ 0x1801349e8", "<???> @ 0x1801349f8", "<???> @ 0x1801438a8", "<???> @ 0x1801afb68"], "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"}