{"type": "func", "start": 6442598016, "end": 6442598055, "name": "cocos2d::CCGridBase::setActive", "pseudocode": "// \n// cocos2d::CCGridBase::setActive from 0x180023e80 to 0x180023ea7 (39 bytes)\n// \n// 5 xrefs:\n// > cocos2d::CCGridAction::startWithTarget @ 0x18002bbbf\n// > cocos2d::CCGridAction::startWithTarget @ 0x18002bbe4\n// > cocos2d::CCStopGrid::startWithTarget @ 0x18002bca0\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801b916c\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:29 +0000\n// \n\nvoid __fastcall cocos2d::CCGridBase::setActive(cocos2d::CCGridBase *this, char a2)\n{\n  struct cocos2d::CCDirector *v2; // rax\n\n  *((_BYTE *)this + 56) = a2;\n  if ( !a2 )\n  {\n    v2 = cocos2d::CCDirector::sharedDirector();\n    cocos2d::CCDirector::setProjection(v2, *((unsigned int *)v2 + 79));\n  }\n}", "assembly": "; \n; cocos2d::CCGridBase::setActive from 0x180023e80 to 0x180023ea7 (39 bytes)\n; \n; 5 xrefs:\n; > cocos2d::CCGridAction::startWithTarget @ 0x18002bbbf\n; > cocos2d::CCGridAction::startWithTarget @ 0x18002bbe4\n; > cocos2d::CCStopGrid::startWithTarget @ 0x18002bca0\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801b916c\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:29 +0000\n; \nsub     rsp, 28h                                                       ; +0x0, 0x180023e80\nmov     [rcx+38h], dl                                                  ; +0x4, 0x180023e84\ntest    dl, dl                                                         ; +0x7, 0x180023e87\njnz     short loc_180023EA2                                            ; +0x9, 0x180023e89\ncall    ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0xb, 0x180023e8b\nmov     rcx, rax                                                       ; +0x10, 0x180023e90\nmov     edx, [rax+13Ch]                                                ; +0x13, 0x180023e93\nadd     rsp, 28h                                                       ; +0x19, 0x180023e99\njmp     ?setProjection@CCDirector@cocos2d@@QEAAXW4ccDirectorProjection@2@@Z; cocos2d::CCDirector::setProjection(cocos2d::ccDirectorProjection) ; +0x1d, 0x180023e9d\nadd     rsp, 28h                                                       ; +0x22, 0x180023ea2\nretn                                                                   ; +0x26, 0x180023ea6", "xrefs": ["cocos2d::CCGridAction::startWithTarget @ 0x18002bbbf", "cocos2d::CCGridAction::startWithTarget @ 0x18002bbe4", "cocos2d::CCStopGrid::startWithTarget @ 0x18002bca0", "<???> @ 0x18014cf68", "<???> @ 0x1801b916c"], "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"}