// // EditorUI::getNeighbor from 0x37e190 to 0x37e236 (166 bytes) // // 13 xrefs: // > EditorUI::processSmartObjectsFromType @ 0x37e2c4 // > EditorUI::convertKeyBasedOnNeighbors @ 0x53649c // > EditorUI::convertKeyBasedOnNeighbors @ 0x5364c2 // > EditorUI::convertKeyBasedOnNeighbors @ 0x5364e0 // > EditorUI::convertKeyBasedOnNeighbors @ 0x5364fe // > EditorUI::createOutlines @ 0x537178 // > EditorUI::createOutlines @ 0x537194 // > EditorUI::createOutlines @ 0x5371b0 // > EditorUI::createOutlines @ 0x5371d0 // > EditorUI::createOutlines @ 0x5371ee // > EditorUI::createOutlines @ 0x53720c // > EditorUI::createOutlines @ 0x53722a // > EditorUI::createOutlines @ 0x537248 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // cocos2d::CCNode *EditorUI::getNeighbor( EditorUI *a1, int a2, cocos2d::CCPoint a3, GJSmartDirection a4, cocos2d::CCArray *a5) { float x; // r5 unsigned int v6; // r5 int v7; // r7 int v8; // r8 cocos2d::CCNode *v9; // r4 int v10; // r10 float y; // s15 float v13[2]; // [sp+4h] [bp-14h] BYREF cocos2d::CCPoint v14; // [sp+Ch] [bp-Ch] BYREF x = a3.x; GJSmartTemplate::offsetForDir(&v14, SLODWORD(a3.y), a2); cocos2d::CCPoint::operator+(v13, LODWORD(x), &v14); v6 = 0; v7 = (int)v13[0]; v8 = (int)v13[1]; while ( 1 ) { if ( v6 >= cocos2d::CCArray::count((cocos2d::CCArray *)a4) ) return nullptr; v9 = (cocos2d::CCNode *)cocos2d::CCArray::objectAtIndex((cocos2d::CCArray *)a4, v6); v10 = (int)v9->getPosition(v9)->x; y = v9->getPosition(v9)->y; if ( v7 == v10 && v8 == (int)y ) break; ++v6; } return v9; }
GD Web Decomp Icon

GD Web Decomp

Raw Source