// // cocos2d::CCPrettyPrinter::visit from 0x180008d10 to 0x180008de4 (212 bytes) // // 3 xrefs: // > @ 0x1800ec450 // > @ 0x18014cf68 // > @ 0x1801b7bf4 // // 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:21:19 +0000 // void __fastcall cocos2d::CCPrettyPrinter::visit(cocos2d::CCPrettyPrinter *this, const struct cocos2d::CCFloat *a2) { _QWORD *v3; // rbx size_t Size; // rax unsigned __int64 v5; // rdx size_t v6; // rdi __int64 v7; // rcx char *v8; // rbx char Str[16]; // [rsp+30h] [rbp-48h] BYREF __int128 v10; // [rsp+40h] [rbp-38h] __int128 v11; // [rsp+50h] [rbp-28h] __int16 v12; // [rsp+60h] [rbp-18h] v12 = 0; *(_OWORD *)Str = 0; v10 = 0; v11 = 0; sub_1800095F0(Str, "%f"); v3 = (_QWORD *)((char *)this + 48); Size = strlen(Str); v5 = v3[3]; v6 = Size; v7 = v3[2]; if ( Size > v5 - v7 ) { sub_180007A50(v3, Size, 0, Str, Size); } else { v3[2] = v7 + Size; if ( v5 > 0xF ) v3 = (_QWORD *)*v3; v8 = (char *)v3 + v7; memmove(v8, Str, Size); v8[v6] = 0; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source