// // EditorUI::getNeighbor from 0x48297c to 0x482a22 (166 bytes) // // 13 xrefs: // > EditorUI::processSmartObjectsFromType @ 0x482ab0 // > EditorUI::convertKeyBasedOnNeighbors @ 0x66b5ec // > EditorUI::convertKeyBasedOnNeighbors @ 0x66b612 // > EditorUI::convertKeyBasedOnNeighbors @ 0x66b630 // > EditorUI::convertKeyBasedOnNeighbors @ 0x66b64e // > EditorUI::createOutlines @ 0x66c2c8 // > EditorUI::createOutlines @ 0x66c2e4 // > EditorUI::createOutlines @ 0x66c300 // > EditorUI::createOutlines @ 0x66c320 // > EditorUI::createOutlines @ 0x66c33e // > EditorUI::createOutlines @ 0x66c35c // > EditorUI::createOutlines @ 0x66c37a // > EditorUI::createOutlines @ 0x66c398 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 11:49:23 +0000 // int __fastcall EditorUI::getNeighbor(int a1, int a2, int a3, int a4, cocos2d::CCArray *a5) { unsigned int v6; // r5 int v7; // r7 int v8; // r8 int v9; // r4 int v10; // r10 float v11; // s15 float v13[2]; // [sp+4h] [bp-14h] BYREF _BYTE v14[8]; // [sp+Ch] [bp-Ch] BYREF GJSmartTemplate::offsetForDir(v14, a4, a2); cocos2d::CCPoint::operator+(v13, a3, v14); v6 = 0; v7 = (int)v13[0]; v8 = (int)v13[1]; while ( 1 ) { if ( v6 >= cocos2d::CCArray::count(a5) ) return 0; v9 = cocos2d::CCArray::objectAtIndex(a5, v6); v10 = (int)*(float *)(*(int (__fastcall **)(int))(*(_DWORD *)v9 + 96))(v9); v11 = *(float *)((*(int (__fastcall **)(int))(*(_DWORD *)v9 + 96))(v9) + 4); if ( v7 == v10 && v8 == (int)v11 ) break; ++v6; } return v9; }
GD Web Decomp Icon

GD Web Decomp

Raw Source