{"type": "func", "start": 6442596656, "end": 6442596695, "name": "cocos2d::CCGridBase::setActive", "pseudocode": "// \n// cocos2d::CCGridBase::setActive from 0x180023930 to 0x180023957 (39 bytes)\n// \n// 5 xrefs:\n// > cocos2d::CCGridAction::startWithTarget @ 0x18002b4ff\n// > cocos2d::CCGridAction::startWithTarget @ 0x18002b524\n// > cocos2d::CCStopGrid::startWithTarget @ 0x18002b5e0\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801af088\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::CCGridBase::setActive(cocos2d::CCGridBase *this, bool a2)\n{\n  struct cocos2d::CCDirector *v2; // rax\n\n  this->m_bActive = a2;\n  if ( !a2 )\n  {\n    v2 = cocos2d::CCDirector::sharedDirector();\n    cocos2d::CCDirector::setProjection(v2, v2->m_eProjection);\n  }\n}", "assembly": "; \n; cocos2d::CCGridBase::setActive from 0x180023930 to 0x180023957 (39 bytes)\n; \n; 5 xrefs:\n; > cocos2d::CCGridAction::startWithTarget @ 0x18002b4ff\n; > cocos2d::CCGridAction::startWithTarget @ 0x18002b524\n; > cocos2d::CCStopGrid::startWithTarget @ 0x18002b5e0\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801af088\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\nsub     rsp, 28h                                                       ; +0x0, 0x180023930\nmov     [rcx+38h], dl                                                  ; +0x4, 0x180023934\ntest    dl, dl                                                         ; +0x7, 0x180023937\njnz     short loc_180023952                                            ; +0x9, 0x180023939\ncall    ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0xb, 0x18002393b\nmov     rcx, rax                                                       ; +0x10, 0x180023940\nmov     edx, [rax+134h]                                                ; +0x13, 0x180023943\nadd     rsp, 28h                                                       ; +0x19, 0x180023949\njmp     ?setProjection@CCDirector@cocos2d@@QEAAXW4ccDirectorProjection@2@@Z; cocos2d::CCDirector::setProjection(cocos2d::ccDirectorProjection) ; +0x1d, 0x18002394d\nadd     rsp, 28h                                                       ; +0x22, 0x180023952\nretn                                                                   ; +0x26, 0x180023956", "xrefs": ["cocos2d::CCGridAction::startWithTarget @ 0x18002b4ff", "cocos2d::CCGridAction::startWithTarget @ 0x18002b524", "cocos2d::CCStopGrid::startWithTarget @ 0x18002b5e0", "<???> @ 0x1801438a8", "<???> @ 0x1801af088"], "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"}