{"type": "func", "start": 7929700, "end": 7929768, "name": "DrawGridLayer::addToEffects", "pseudocode": "// \n// DrawGridLayer::addToEffects from 0x78ff64 to 0x78ffa8 (68 bytes)\n// \n// 2 xrefs:\n// > LevelEditorLayer::addSpecial @ 0x7a0770\n// > <???> @ 0x562a8\n// \n// This function is hookable on this platform (idp: arm, 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 12:53:28 +0000\n// \n\n__int64 __fastcall DrawGridLayer::addToEffects(cocos2d::CCArray **this, EffectGameObject *a2)\n{\n  __int64 result; // x0\n\n  result = (unsigned __int8)cocos2d::CCArray::containsObject(*(this + 68), a2);\n  if ( !(_BYTE)result )\n  {\n    cocos2d::CCArray::addObject(*(this + 68), a2);\n    *((_BYTE *)this + 492) = 1;\n    return 1;\n  }\n  return result;\n}", "assembly": "; \n; DrawGridLayer::addToEffects from 0x78ff64 to 0x78ffa8 (68 bytes)\n; \n; 2 xrefs:\n; > LevelEditorLayer::addSpecial @ 0x7a0770\n; > <???> @ 0x562a8\n; \n; This function is hookable on this platform (idp: arm, 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 12:53:28 +0000\n; \nSTP             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0x78ff64\nMOV             X29, SP                                                ; +0x4, 0x78ff68\nSTP             X19, X20, [SP,#var_s10]                                ; +0x8, 0x78ff6c\nMOV             X19, X0                                                ; +0xc, 0x78ff70\nMOV             X20, X1                                                ; +0x10, 0x78ff74\nLDR             X0, [X0,#0x220]; this                                  ; +0x14, 0x78ff78\nBL              _ZNK7cocos2d7CCArray14containsObjectEPNS_8CCObjectE; cocos2d::CCArray::containsObject(cocos2d::CCObject *) ; +0x18, 0x78ff7c\nUXTB            W0, W0                                                 ; +0x1c, 0x78ff80\nCBNZ            W0, loc_78FF9C                                         ; +0x20, 0x78ff84\nLDR             X0, [X19,#0x220]; this                                 ; +0x24, 0x78ff88\nMOV             X1, X20; cocos2d::CCObject *                           ; +0x28, 0x78ff8c\nBL              _ZN7cocos2d7CCArray9addObjectEPNS_8CCObjectE; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x2c, 0x78ff90\nMOV             W0, #1                                                 ; +0x30, 0x78ff94\nSTRB            W0, [X19,#0x1EC]                                       ; +0x34, 0x78ff98\nLDP             X19, X20, [SP,#var_s10]                                ; +0x38, 0x78ff9c\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x3c, 0x78ffa0\nRET                                                                    ; +0x40, 0x78ffa4", "xrefs": ["LevelEditorLayer::addSpecial @ 0x7a0770", "<???> @ 0x562a8"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}