// // sub_140377CF0 from 0x140377cf0 to 0x140377e22 (306 bytes) // // 4 xrefs: // > sub_140375FE0 @ 0x140376018 // > sub_140377EF0 @ 0x140378038 // > sub_140377EF0 @ 0x1403780e8 // > @ 0x14092237c // // 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:31:01 +0000 // // Hidden C++ exception states: #wind=2 __int64 __fastcall sub_140377CF0(__int64 a1, __int64 a2) { __int64 result; // rax __int64 v5; // [rsp+30h] [rbp+8h] v5 = *(_QWORD *)(a1 + 8); *(_QWORD *)v5 = *(_QWORD *)a2; *(_DWORD *)(v5 + 8) = *(_DWORD *)(a2 + 8); *(_DWORD *)(v5 + 12) = *(_DWORD *)(a2 + 12); *(_BYTE *)(v5 + 16) = *(_BYTE *)(a2 + 16); *(_DWORD *)(v5 + 20) = *(_DWORD *)(a2 + 20); *(_DWORD *)(v5 + 24) = *(_DWORD *)(a2 + 24); *(_BYTE *)(v5 + 28) = *(_BYTE *)(a2 + 28); *(_BYTE *)(v5 + 29) = *(_BYTE *)(a2 + 29); *(_BYTE *)(v5 + 30) = *(_BYTE *)(a2 + 30); sub_140379A60(v5 + 32, a2 + 32); sub_140379A60(v5 + 200, a2 + 200); *(_QWORD *)(v5 + 368) = *(_QWORD *)(a2 + 368); *(_QWORD *)(v5 + 376) = *(_QWORD *)(a2 + 376); *(_DWORD *)(v5 + 384) = *(_DWORD *)(a2 + 384); *(_DWORD *)(v5 + 388) = *(_DWORD *)(a2 + 388); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v5 + 392), (const struct cocos2d::CCPoint *)(a2 + 392)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v5 + 400), (const struct cocos2d::CCPoint *)(a2 + 400)); *(_QWORD *)(v5 + 408) = *(_QWORD *)(a2 + 408); *(_QWORD *)(v5 + 416) = *(_QWORD *)(a2 + 416); *(_QWORD *)(v5 + 424) = *(_QWORD *)(a2 + 424); *(_QWORD *)(v5 + 432) = *(_QWORD *)(a2 + 432); result = *(unsigned int *)(a2 + 440); *(_DWORD *)(v5 + 440) = result; *(_QWORD *)(a1 + 8) += 448LL; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source