// // LevelEditorLayer::addObjectsInRect from 0x78b608 to 0x78b760 (344 bytes) // // 1 xrefs: // > @ 0xeed68 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:53:26 +0000 // __int64 __fastcall LevelEditorLayer::addObjectsInRect( float **a1, cocos2d::CCRect *a2, unsigned __int8 a3, cocos2d::CCArray *a4, cocos2d::CCArray *a5) { unsigned int v7; // w19 int v9; // w24 _BYTE *v11; // x23 GameObject *v12; // x21 _BYTE v14[16]; // [xsp+68h] [xbp+68h] BYREF v7 = 0; v9 = a3; v11 = (char *)a1 + 14245; while ( v7 < (unsigned int)cocos2d::CCArray::count(a4) ) { v12 = (GameObject *)cocos2d::CCArray::objectAtIndex(a4, v7); if ( v9 ) { LevelEditorLayer::getObjectRect((LevelEditorLayer *)a1, v12, 0, 0, (cocos2d::CCRect *)v14); if ( *v11 ) goto LABEL_4; } else { if ( !LevelEditorLayer::validGroup((LevelEditorLayer *)a1, v12, 1) ) goto LABEL_6; LevelEditorLayer::getObjectRect((LevelEditorLayer *)a1, v12, 0, 0, (cocos2d::CCRect *)v14); if ( *v11 ) goto LABEL_4; } if ( (unsigned __int8)cocos2d::CCRect::intersectsRect(a2, (const cocos2d::CCRect *)v14) ) { LABEL_5: cocos2d::CCArray::addObject(a5, v12); goto LABEL_6; } if ( !*v11 ) { ++v7; continue; } LABEL_4: if ( OBB2D::overlaps(a1[1777], a1[260]) ) goto LABEL_5; LABEL_6: ++v7; } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source