// // EditorUI::setDpadStep from 0x6f6dac to 0x6f6e40 (148 bytes) // // 3 xrefs: // > EditorUI::createDpadMoveMenu @ 0x6f73ec // > EditorUI::nextDpadStep @ 0x6f8046 // > EditorUI::onDpadStep @ 0x6f8082 // // 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:57:39 +0000 // int __fastcall EditorUI::setDpadStep(int this, unsigned int a2) { cocos2d::CCArray **v2; // r4 signed int v4; // r5 int v5; // r0 int v6; // r1 int v7; // r7 void (__fastcall *v8)(int, int); // r8 int v9; // r0 signed int i; // r5 int v11; // r0 char *v12; // r0 const char *v14; // r1 v2 = (cocos2d::CCArray **)this; if ( *(_DWORD *)(this + 1056) && a2 <= 8 ) { v4 = 0; *(_DWORD *)(this + 1060) = a2; while ( v4 < cocos2d::CCArray::count(v2[267]) ) { v5 = cocos2d::CCArray::objectAtIndex(v2[267], v4); v6 = v4++; v7 = v5; v8 = *(void (__fastcall **)(int, int))(*(_DWORD *)v5 + 36); v9 = EditorUI::selectedMoveCommand((EditorUI *)v2, v6); v8(v7, v9); } for ( i = 0; i < cocos2d::CCArray::count(v2[268]); ++i ) { v11 = cocos2d::CCArray::objectAtIndex(v2[268], i); v12 = (char *)(*(int (__fastcall **)(int))(*(_DWORD *)v11 + 536))(v11); if ( i == a2 ) v14 = "GJ_button_02.png"; else v14 = "GJ_button_04.png"; ButtonSprite::updateBGImage(v12, v14); } return EditorUI::updateDpadStepLabel((int)v2); } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source