{"type": "func", "start": 6858660, "end": 6858736, "name": "EditorUI::findTriggerTest", "pseudocode": "// \n// EditorUI::findTriggerTest from 0x68a7a4 to 0x68a7f0 (76 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x37008\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 EditorUI::findTriggerTest(EditorUI *a1)\n{\n  unsigned int v1; // w19\n  cocos2d::CCArray *i; // x20\n  bool v3; // cf\n  unsigned int v4; // w1\n\n  v1 = 0;\n  for ( i = LevelEditorLayer::getAllObjects(a1->m_editorLayer); ; cocos2d::CCArray::objectAtIndex(i, v4) )\n  {\n    v3 = v1 >= (unsigned int)cocos2d::CCArray::count(i);\n    v4 = v1++;\n    if ( v3 )\n      break;\n  }\n}", "assembly": "; \n; EditorUI::findTriggerTest from 0x68a7a4 to 0x68a7f0 (76 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x37008\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, 0x68a7a4\nMOV             X29, SP                                                ; +0x4, 0x68a7a8\nLDR             X0, [X0,#0x4F8]; this                                  ; +0x8, 0x68a7ac\nSTP             X19, X20, [SP,#var_s10]                                ; +0xc, 0x68a7b0\nMOV             W19, #0                                                ; +0x10, 0x68a7b4\nBL              _ZN16LevelEditorLayer13getAllObjectsEv; LevelEditorLayer::getAllObjects(void) ; +0x14, 0x68a7b8\nMOV             X20, X0                                                ; +0x18, 0x68a7bc\nB               loc_68A7C8                                             ; +0x1c, 0x68a7c0\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x20, 0x68a7c4\nMOV             X0, X20; this                                          ; +0x24, 0x68a7c8\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x28, 0x68a7cc\nCMP             W19, W0                                                ; +0x2c, 0x68a7d0\nMOV             W1, W19; unsigned int                                  ; +0x30, 0x68a7d4\nMOV             X0, X20; this                                          ; +0x34, 0x68a7d8\nADD             W19, W19, #1                                           ; +0x38, 0x68a7dc\nB.CC            loc_68A7C4                                             ; +0x3c, 0x68a7e0\nLDP             X19, X20, [SP,#var_s10]                                ; +0x40, 0x68a7e4\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x44, 0x68a7e8\nRET                                                                    ; +0x48, 0x68a7ec", "xrefs": ["<???> @ 0x37008"], "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"}