// // EditorUI::getNeighbor from 0x1401b8120 to 0x1401b81f1 (209 bytes) // // 14 xrefs: // > EditorUI::processSmartObjectsFromType @ 0x1401b7dfd // > EditorUI::convertKeyBasedOnNeighbors @ 0x1401f996e // > EditorUI::convertKeyBasedOnNeighbors @ 0x1401f9994 // > EditorUI::convertKeyBasedOnNeighbors @ 0x1401f99ba // > EditorUI::convertKeyBasedOnNeighbors @ 0x1401f99e0 // > EditorUI::createOutlines @ 0x1401fab92 // > EditorUI::createOutlines @ 0x1401fabcc // > EditorUI::createOutlines @ 0x1401fac06 // > EditorUI::createOutlines @ 0x1401fac40 // > EditorUI::createOutlines @ 0x1401fac7a // > EditorUI::createOutlines @ 0x1401facb4 // > EditorUI::createOutlines @ 0x1401facee // > EditorUI::createOutlines @ 0x1401fad25 // > @ 0x14091a2f4 // // This function is hookable on this platform (idp: pc, 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 11:27:58 +0000 // struct cocos2d::CCObject *__fastcall EditorUI::getNeighbor( __int64 a1, unsigned int a2, __int64 a3, unsigned int a4, cocos2d::CCArray *a5) { __int64 v6; // rax cocos2d::CCArray *v7; // rbp unsigned int v8; // edi int v9; // r15d int v10; // r14d struct cocos2d::CCObject *v11; // rsi int v12; // ebx int v13; // ecx _BYTE v15[40]; // [rsp+20h] [rbp-28h] BYREF __int64 v16; // [rsp+50h] [rbp+8h] BYREF v16 = a1; v6 = GJSmartTemplate::offsetForDir(v15, a4, a2); cocos2d::CCPoint::operator+(a3, &v16, v6); v7 = a5; v8 = 0; v9 = (int)*(float *)&v16; v10 = (int)*((float *)&v16 + 1); if ( !cocos2d::CCArray::count(a5) ) return nullptr; while ( 1 ) { v11 = cocos2d::CCArray::objectAtIndex(v7, v8); v12 = (int)*(float *)(*(__int64 (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v11 + 200LL))(v11); v13 = (int)*(float *)((*(__int64 (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v11 + 200LL))(v11) + 4); if ( v9 == v12 && v10 == v13 ) break; if ( ++v8 >= cocos2d::CCArray::count(v7) ) return nullptr; } return v11; }
GD Web Decomp Icon

GD Web Decomp

Raw Source