// // EditorUI::updateGridNodeSize from 0x7c134c to 0x7c142c (224 bytes) // // 6 xrefs: // > EditorUI::setCustomGridNodeSize @ 0x7c1494 // > EditorUI::setCustomGridEnabled @ 0x7c14f4 // > EditorUI::onCreateButton @ 0x7c2e58 // > EditorUI::toggleSpecialEditButtons @ 0x7c7fe0 // > EditorUI::resetUI @ 0x7ce4b8 // > @ 0x54640 // // 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:54:06 +0000 // __int64 __fastcall EditorUI::updateGridNodeSize(cocos2d::CCArray **this) { cocos2d::CCArray **v1; // x20 __int64 v2; // x1 int v3; // w1 float v4; // s8 unsigned int v5; // w19 int v6; // w22 int *v7; // x21 ObjectToolbox *v8; // x0 float v9; // s0 v1 = this; if ( *((_DWORD *)this + 359) == 2 ) { v3 = *((_DWORD *)this + 336); return EditorUI::updateGridNodeSize((EditorUI *)this, v3); } v2 = (__int64)*(this + 187); if ( v2 ) { v3 = *(_DWORD *)(v2 + 1028); return EditorUI::updateGridNodeSize((EditorUI *)this, v3); } if ( !(unsigned int)cocos2d::CCArray::count(*(this + 112)) ) { this = v1; v3 = -1; return EditorUI::updateGridNodeSize((EditorUI *)this, v3); } v4 = -1.0; v5 = 0; v6 = 0; while ( v5 < (unsigned int)cocos2d::CCArray::count(v1[112]) ) { v7 = (int *)cocos2d::CCArray::objectAtIndex(v1[112], v5); v8 = (ObjectToolbox *)ObjectToolbox::sharedState((ObjectToolbox *)v7); ObjectToolbox::gridNodeSizeForKey(v8, v7[257]); if ( v4 == -1.0 ) { v4 = v9; v6 = v7[257]; } else if ( v9 != v4 ) { v6 = -1; return EditorUI::updateGridNodeSize((EditorUI *)v1, v6); } ++v5; } return EditorUI::updateGridNodeSize((EditorUI *)v1, v6); }
GD Web Decomp Icon

GD Web Decomp

Raw Source