{"type": "func", "start": 3581716, "end": 3581750, "name": "DrawGridLayer::addToEffects", "pseudocode": "// \n// DrawGridLayer::addToEffects from 0x36a714 to 0x36a736 (34 bytes)\n// \n// 1 xrefs:\n// > LevelEditorLayer::addSpecial @ 0x370bdc\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 ( !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 0x36a714 to 0x36a736 (34 bytes)\n; \n; 1 xrefs:\n; > LevelEditorLayer::addSpecial @ 0x370bdc\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\nPUSH            {R3-R5,LR}                                             ; +0x0, 0x36a714\nMOV             R4, R0                                                 ; +0x2, 0x36a716\nLDR.W           R0, [R0,#0x18C]; this                                  ; +0x4, 0x36a718\nMOV             R5, R1                                                 ; +0x8, 0x36a71c\nBL              _ZNK7cocos2d7CCArray14containsObjectEPNS_8CCObjectE; cocos2d::CCArray::containsObject(cocos2d::CCObject *) ; +0xa, 0x36a71e\nCBNZ            R0, locret_36A734                                      ; +0xe, 0x36a722\nLDR.W           R0, [R4,#0x18C]; this                                  ; +0x10, 0x36a724\nMOV             R1, R5; cocos2d::CCObject *                            ; +0x14, 0x36a728\nBL              _ZN7cocos2d7CCArray9addObjectEPNS_8CCObjectE; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x16, 0x36a72a\nMOVS            R3, #1                                                 ; +0x1a, 0x36a72e\nSTRB.W          R3, [R4,#0x178]                                        ; +0x1c, 0x36a730\nPOP             {R3-R5,PC}                                             ; +0x20, 0x36a734", "xrefs": ["LevelEditorLayer::addSpecial @ 0x370bdc"], "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"}