{"type": "func", "start": 6705264, "end": 6705332, "name": "DrawGridLayer::addToEffects", "pseudocode": "// \n// DrawGridLayer::addToEffects from 0x665070 to 0x6650b4 (68 bytes)\n// \n// 2 xrefs:\n// > LevelEditorLayer::addSpecial @ 0x670628\n// > <???> @ 0x3b550\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 DrawGridLayer::addToEffects(DrawGridLayer *a1, EffectGameObject *a2)\n{\n  if ( !(unsigned __int8)cocos2d::CCArray::containsObject(a1->m_effectGameObjects, a2) )\n  {\n    cocos2d::CCArray::addObject(a1->m_effectGameObjects, a2);\n    a1->m_sortEffects = 1;\n  }\n}", "assembly": "; \n; DrawGridLayer::addToEffects from 0x665070 to 0x6650b4 (68 bytes)\n; \n; 2 xrefs:\n; > LevelEditorLayer::addSpecial @ 0x670628\n; > <???> @ 0x3b550\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\nSTP             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0x665070\nMOV             X29, SP                                                ; +0x4, 0x665074\nSTP             X19, X20, [SP,#var_s10]                                ; +0x8, 0x665078\nMOV             X19, X0                                                ; +0xc, 0x66507c\nLDR             X0, [X0,#0x220]; this                                  ; +0x10, 0x665080\nMOV             X20, X1                                                ; +0x14, 0x665084\nBL              _ZNK7cocos2d7CCArray14containsObjectEPNS_8CCObjectE; cocos2d::CCArray::containsObject(cocos2d::CCObject *) ; +0x18, 0x665088\nUXTB            W0, W0                                                 ; +0x1c, 0x66508c\nCBNZ            W0, loc_6650A8                                         ; +0x20, 0x665090\nLDR             X0, [X19,#0x220]; this                                 ; +0x24, 0x665094\nMOV             X1, X20; cocos2d::CCObject *                           ; +0x28, 0x665098\nBL              _ZN7cocos2d7CCArray9addObjectEPNS_8CCObjectE; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x2c, 0x66509c\nMOV             W0, #1                                                 ; +0x30, 0x6650a0\nSTRB            W0, [X19,#0x1FC]                                       ; +0x34, 0x6650a4\nLDP             X19, X20, [SP,#var_s10]                                ; +0x38, 0x6650a8\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x3c, 0x6650ac\nRET                                                                    ; +0x40, 0x6650b0", "xrefs": ["LevelEditorLayer::addSpecial @ 0x670628", "<???> @ 0x3b550"], "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"}