// // GJBaseGameLayer::getRecordExtra from 0x100136550 to 0x100136645 (245 bytes) // // 1 xrefs: // > GJBaseGameLayer::getRecordString @ 0x100137f07 // // 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 12:24:50 +0000 // _QWORD *__fastcall GJBaseGameLayer::getRecordExtra(_QWORD *a1, __int64 a2) { __int64 v2; // rax __int64 v3; // rax const char *CString; // r15 size_t v5; // rax size_t v6; // r14 void *v7; // r12 size_t v8; // r13 if ( (*(_BYTE *)(a2 + 13064) & 1) != 0 ) v2 = *(_QWORD *)(a2 + 13080); else LOBYTE(v2) = a2 + 9; v3 = sub_10088E820("#%llu,%i,%i,%i,%i,%s", v2); CString = (const char *)cocos2d::CCString::getCString(v3); v5 = strlen(CString); if ( v5 >= 0xFFFFFFFFFFFFFFF8LL ) sub_100003630(); v6 = v5; if ( v5 >= 0x17 ) { v8 = 26; if ( (v5 | 7) != 0x17 ) v8 = (v5 | 7) + 1; v7 = operator new(v8); a1[2] = v7; *a1 = v8 + 1; a1[1] = v6; } else { *(_BYTE *)a1 = 2 * v5; v7 = (char *)a1 + 1; if ( !v5 ) goto LABEL_12; } memmove(v7, CString, v6); LABEL_12: *((_BYTE *)v7 + v6) = 0; return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source