{"type": "func", "start": 3581814, "end": 3581858, "name": "DrawGridLayer::addToSpeedObjects", "pseudocode": "// \n// DrawGridLayer::addToSpeedObjects from 0x36a776 to 0x36a7a2 (44 bytes)\n// \n// 3 xrefs:\n// > LevelEditorLayer::tryUpdateSpeedObject @ 0x36a84c\n// > LevelEditorLayer::reverseObjectChanged @ 0x36a864\n// > EditorUI::onCreateObject @ 0x3a3f8e\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::addToSpeedObjects(DrawGridLayer *a1, EffectGameObject *a2)\n{\n  if ( !cocos2d::CCArray::containsObject(a1->m_speedObjects, a2) )\n  {\n    cocos2d::CCArray::addObject(a1->m_speedObjects, a2);\n    a1->m_updateSpeedObjects = 1;\n    EffectGameObject::updateSpeedModType(a2);\n  }\n}", "assembly": "; \n; DrawGridLayer::addToSpeedObjects from 0x36a776 to 0x36a7a2 (44 bytes)\n; \n; 3 xrefs:\n; > LevelEditorLayer::tryUpdateSpeedObject @ 0x36a84c\n; > LevelEditorLayer::reverseObjectChanged @ 0x36a864\n; > EditorUI::onCreateObject @ 0x3a3f8e\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, 0x36a776\nMOV             R4, R0                                                 ; +0x2, 0x36a778\nLDR.W           R0, [R0,#0x194]; this                                  ; +0x4, 0x36a77a\nMOV             R5, R1                                                 ; +0x8, 0x36a77e\nBL              _ZNK7cocos2d7CCArray14containsObjectEPNS_8CCObjectE; cocos2d::CCArray::containsObject(cocos2d::CCObject *) ; +0xa, 0x36a780\nCBNZ            R0, locret_36A7A0                                      ; +0xe, 0x36a784\nLDR.W           R0, [R4,#0x194]; this                                  ; +0x10, 0x36a786\nMOV             R1, R5; cocos2d::CCObject *                            ; +0x14, 0x36a78a\nBL              _ZN7cocos2d7CCArray9addObjectEPNS_8CCObjectE; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x16, 0x36a78c\nMOVS            R3, #1                                                 ; +0x1a, 0x36a790\nMOV             R0, R5; this                                           ; +0x1c, 0x36a792\nSTRB.W          R3, [R4,#0x1B9]                                        ; +0x1e, 0x36a794\nPOP.W           {R3-R5,LR}                                             ; +0x22, 0x36a798\nB.W             _ZN16EffectGameObject18updateSpeedModTypeEv; EffectGameObject::updateSpeedModType(void) ; +0x26, 0x36a79c\nPOP             {R3-R5,PC}                                             ; +0x2a, 0x36a7a0", "xrefs": ["LevelEditorLayer::tryUpdateSpeedObject @ 0x36a84c", "LevelEditorLayer::reverseObjectChanged @ 0x36a864", "EditorUI::onCreateObject @ 0x3a3f8e"], "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"}