{"type": "func", "start": 7293308, "end": 7293388, "name": "EditorUI::selectObjectsInRect", "pseudocode": "// \n// EditorUI::selectObjectsInRect from 0x6f497c to 0x6f49cc (80 bytes)\n// \n// 1 xrefs:\n// > EditorUI::ccTouchEnded @ 0x6f0cf8\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:57:38 +0000\n// \n\nEditorSFXManager *__fastcall EditorUI::selectObjectsInRect(EditorUI *a1, const cocos2d::CCRect *a2)\n{\n  int v2; // r7\n  cocos2d::CCArray *v4; // r6\n  EditorSFXManager *result; // r0\n  EditorSFXManager *v6; // r0\n  float v7[4]; // [sp+4h] [bp-18h] BYREF\n\n  v2 = *((_DWORD *)a1 + 236);\n  cocos2d::CCRect::CCRect((cocos2d::CCRect *)v7, a2);\n  v4 = LevelEditorLayer::objectsInRect(v2, v7, 0);\n  result = (EditorSFXManager *)cocos2d::CCArray::count(v4);\n  if ( result )\n  {\n    v6 = (EditorSFXManager *)EditorSFXManager::sharedState(result);\n    EditorSFXManager::playAction(v6, 122);\n    return (EditorSFXManager *)EditorUI::processSelectObjects(a1, v4);\n  }\n  return result;\n}", "assembly": "; \n; EditorUI::selectObjectsInRect from 0x6f497c to 0x6f49cc (80 bytes)\n; \n; 1 xrefs:\n; > EditorUI::ccTouchEnded @ 0x6f0cf8\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:57:38 +0000\n; \nPUSH            {R4-R7,LR}                                             ; +0x0, 0x6f497c\nSUB             SP, SP, #0x1C                                          ; +0x2, 0x6f497e\nLDR             R4, =(__stack_chk_guard_ptr - 0x6F498E)                ; +0x4, 0x6f4980\nADD             R6, SP, #0x1C+var_18                                   ; +0x6, 0x6f4982\nLDR.W           R7, [R0,#0x3B0]                                        ; +0x8, 0x6f4984\nMOV             R5, R0                                                 ; +0xc, 0x6f4988\nADD             R4, PC; __stack_chk_guard_ptr                          ; +0xe, 0x6f498a\nLDR             R4, [R4]; __stack_chk_guard                            ; +0x10, 0x6f498c\nMOV             R0, R6; this                                           ; +0x12, 0x6f498e\nLDR             R3, [R4]                                               ; +0x14, 0x6f4990\nSTR             R3, [SP,#0x1C+var_8]                                   ; +0x16, 0x6f4992\nBL              _ZN7cocos2d6CCRectC1ERKS0_; cocos2d::CCRect::CCRect(cocos2d::CCRect const&) ; +0x18, 0x6f4994\nMOV             R1, R6                                                 ; +0x1c, 0x6f4998\nMOV             R0, R7                                                 ; +0x1e, 0x6f499a\nMOVS            R2, #0                                                 ; +0x20, 0x6f499c\nBL              _ZN16LevelEditorLayer13objectsInRectEN7cocos2d6CCRectEb; LevelEditorLayer::objectsInRect(cocos2d::CCRect,bool) ; +0x22, 0x6f499e\nMOV             R6, R0                                                 ; +0x26, 0x6f49a2\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x28, 0x6f49a4\nCBZ             R0, loc_6F49BC                                         ; +0x2c, 0x6f49a8\nBL              _ZN16EditorSFXManager11sharedStateEv; EditorSFXManager::sharedState(void) ; +0x2e, 0x6f49aa\nMOVS            R1, #0x7A ; 'z'; int                                   ; +0x32, 0x6f49ae\nBL              _ZN16EditorSFXManager10playActionEi; EditorSFXManager::playAction(int) ; +0x34, 0x6f49b0\nMOV             R0, R5; this                                           ; +0x38, 0x6f49b4\nMOV             R1, R6; cocos2d::CCArray *                             ; +0x3a, 0x6f49b6\nBL              _ZN8EditorUI20processSelectObjectsEPN7cocos2d7CCArrayE; EditorUI::processSelectObjects(cocos2d::CCArray *) ; +0x3c, 0x6f49b8\nLDR             R2, [SP,#0x1C+var_8]                                   ; +0x40, 0x6f49bc\nLDR             R3, [R4]                                               ; +0x42, 0x6f49be\nCMP             R2, R3                                                 ; +0x44, 0x6f49c0\nBEQ             loc_6F49C8                                             ; +0x46, 0x6f49c2\nBLX             __stack_chk_fail                                       ; +0x48, 0x6f49c4\nADD             SP, SP, #0x1C                                          ; +0x4c, 0x6f49c8\nPOP             {R4-R7,PC}                                             ; +0x4e, 0x6f49ca", "xrefs": ["EditorUI::ccTouchEnded @ 0x6f0cf8"], "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"}