// // sub_1400D2750 from 0x1400d2750 to 0x1400d2838 (232 bytes) // // 13 xrefs: // > sub_1400EACF0 @ 0x1400eb08f // > EditorSoundsLayer::dEditorSoundsLayer @ 0x14019c8cf // > EditorSoundsLayer::showTab @ 0x14019e1a7 // > EditorSoundsLayer::showTab @ 0x14019e4a7 // > GameLevelManager::uploadLevelControls @ 0x140258f09 // > GameLevelManager::deleteLevelControls @ 0x140259684 // > GameLevelManager::getLevelControls @ 0x140259cdd // > GJKeybindManager::buildBindsBlob @ 0x14038b704 // > GJKeybindManager::buildBindsBlob @ 0x14038b76b // > KeybindingsLayer::dKeybindingsLayer @ 0x1403d54b5 // > KeybindingsLayer::showTab @ 0x1403d7887 // > KeybindingsLayer::showTab @ 0x1403d7b7d // > @ 0x1409144c8 // // 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:26:25 +0000 // _QWORD *__fastcall sub_1400D2750(_QWORD *a1, int a2) { _BYTE *v2; // r9 unsigned int v3; // r8d unsigned int v5; // r8d _BYTE v7[3]; // [rsp+45h] [rbp-13h] BYREF v2 = v7; v3 = a2; if ( a2 >= 0 ) { do { *--v2 = v3 % 0xA + 48; v3 /= 0xAu; } while ( v3 ); } else { v5 = -a2; do { *--v2 = v5 % 0xA + 48; v5 /= 0xAu; } while ( v5 ); *--v2 = 45; } *(_OWORD *)a1 = 0; a1[2] = 0; a1[3] = 0; if ( v2 == v7 ) { a1[3] = 15; *(_BYTE *)a1 = 0; } else { sub_14003D230(a1, v2, v7 - v2); } return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source