// // sub_100877C80 from 0x100877c80 to 0x100877d56 (214 bytes) // // 1 xrefs: // > SpriteAnimationManager::createAnimations @ 0x100800241 // // 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:36:53 +0000 // void __fastcall sub_100877C80(__int64 a1, const char *a2) { __int64 v2; // rbx void *v3; // r14 size_t v4; // rax size_t v5; // r12 char *v6; // r13 __int64 v7; // r14 size_t v8; // rbx void *v9; // [rsp+8h] [rbp-48h] _QWORD __dst[2]; // [rsp+10h] [rbp-40h] BYREF void *__p; // [rsp+20h] [rbp-30h] v2 = *(_QWORD *)(a1 + 328); v3 = cocos2d::CCNode::create(); v4 = strlen(a2); if ( v4 >= 0xFFFFFFFFFFFFFFF8LL ) sub_100003630(); v5 = v4; if ( v4 >= 0x17 ) { v9 = v3; v7 = v2; v8 = 26; if ( (v4 | 7) != 0x17 ) v8 = (v4 | 7) + 1; v6 = (char *)operator new(v8); __p = v6; __dst[0] = v8 + 1; v2 = v7; v3 = v9; __dst[1] = v5; goto LABEL_8; } LOBYTE(__dst[0]) = 2 * v4; v6 = (char *)__dst + 1; if ( v4 ) LABEL_8: memcpy(v6, a2, v5); v6[v5] = 0; cocos2d::CCDictionary::setObject(v2, (__int64)v3, (char *)__dst); if ( (__dst[0] & 1) != 0 ) operator delete(__p); }
GD Web Decomp Icon

GD Web Decomp

Raw Source