{"type": "func", "start": 4603472, "end": 4603506, "name": "DrawGridLayer::addToEffects", "pseudocode": "// \n// DrawGridLayer::addToEffects from 0x463e50 to 0x463e72 (34 bytes)\n// \n// 1 xrefs:\n// > LevelEditorLayer::addSpecial @ 0x46e4dc\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:48:54 +0000\n// \n\nint __fastcall DrawGridLayer::addToEffects(cocos2d::CCArray **this, EffectGameObject *a2)\n{\n  int result; // r0\n\n  result = cocos2d::CCArray::containsObject(*(this + 99), a2);\n  if ( !result )\n  {\n    result = cocos2d::CCArray::addObject(*(this + 99), a2);\n    *((_BYTE *)this + 368) = 1;\n  }\n  return result;\n}", "assembly": "; \n; DrawGridLayer::addToEffects from 0x463e50 to 0x463e72 (34 bytes)\n; \n; 1 xrefs:\n; > LevelEditorLayer::addSpecial @ 0x46e4dc\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:48:54 +0000\n; \nPUSH            {R3-R5,LR}                                             ; +0x0, 0x463e50\nMOV             R4, R0                                                 ; +0x2, 0x463e52\nLDR.W           R0, [R0,#0x18C]; this                                  ; +0x4, 0x463e54\nMOV             R5, R1                                                 ; +0x8, 0x463e58\nBL              _ZNK7cocos2d7CCArray14containsObjectEPNS_8CCObjectE; cocos2d::CCArray::containsObject(cocos2d::CCObject *) ; +0xa, 0x463e5a\nCBNZ            R0, locret_463E70                                      ; +0xe, 0x463e5e\nLDR.W           R0, [R4,#0x18C]; this                                  ; +0x10, 0x463e60\nMOV             R1, R5; cocos2d::CCObject *                            ; +0x14, 0x463e64\nBL              _ZN7cocos2d7CCArray9addObjectEPNS_8CCObjectE; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x16, 0x463e66\nMOVS            R3, #1                                                 ; +0x1a, 0x463e6a\nSTRB.W          R3, [R4,#0x170]                                        ; +0x1c, 0x463e6c\nPOP             {R3-R5,PC}                                             ; +0x20, 0x463e70", "xrefs": ["LevelEditorLayer::addSpecial @ 0x46e4dc"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}