{"type": "func", "start": 6442511120, "end": 6442511294, "name": "sub_18000EB10", "pseudocode": "// \n// sub_18000EB10 from 0x18000eb10 to 0x18000ebbe (174 bytes)\n// \n// 4 xrefs:\n// > sub_18000EB10 @ 0x18000eb8c\n// > sub_18000EB10 @ 0x18000eb9e\n// > cocos2d::CCSet::CCSet @ 0x18000ed2d\n// > <???> @ 0x1801adf84\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n// Hidden C++ exception states: #wind=1\n_QWORD *__fastcall sub_18000EB10(_QWORD *a1, __int64 a2, __int64 a3)\n{\n  _QWORD *v6; // rsi\n  _QWORD *v7; // rbx\n  __int64 v9; // rax\n\n  v6 = (_QWORD *)*a1;\n  if ( !*(_BYTE *)(a2 + 25) )\n  {\n    v7 = operator new(0x28u);\n    v7[4] = *(_QWORD *)(a2 + 32);\n    *v7 = v6;\n    v7[2] = v6;\n    *((_WORD *)v7 + 12) = 0;\n    v7[1] = a3;\n    *((_BYTE *)v7 + 24) = *(_BYTE *)(a2 + 24);\n    if ( *((_BYTE *)v6 + 25) )\n      v6 = v7;\n    try\n    {\n      *v7 = sub_18000EB10(a1, *(_QWORD *)a2);\n      v7[2] = sub_18000EB10(a1, *(_QWORD *)(a2 + 16));\n    }\n    catch ( ... )\n    {\n      v9 = kmVec4Lerp((__int64)a1);\n      sub_18000EC40(a1, v9, v6);\n      throw;\n    }\n  }\n  return v6;\n}", "assembly": "; \n; sub_18000EB10 from 0x18000eb10 to 0x18000ebbe (174 bytes)\n; \n; 4 xrefs:\n; > sub_18000EB10 @ 0x18000eb8c\n; > sub_18000EB10 @ 0x18000eb9e\n; > cocos2d::CCSet::CCSet @ 0x18000ed2d\n; > <???> @ 0x1801adf84\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmov     [rsp+arg_10], rbx                                              ; +0x0, 0x18000eb10\nmov     [rsp+arg_18], rsi                                              ; +0x5, 0x18000eb15\nmov     [rsp+arg_0], rcx                                               ; +0xa, 0x18000eb1a\npush    rdi                                                            ; +0xf, 0x18000eb1f\npush    r14                                                            ; +0x10, 0x18000eb20\npush    r15                                                            ; +0x12, 0x18000eb22\nsub     rsp, 30h                                                       ; +0x14, 0x18000eb24\nmov     r15, r8                                                        ; +0x18, 0x18000eb28\nmov     r14, rdx                                                       ; +0x1b, 0x18000eb2b\nmov     rdi, rcx                                                       ; +0x1e, 0x18000eb2e\nmov     rsi, [rcx]                                                     ; +0x21, 0x18000eb31\ncmp     byte ptr [rdx+19h], 0                                          ; +0x24, 0x18000eb34\njnz     short loc_18000EBA7                                            ; +0x28, 0x18000eb38\nmov     [rsp+48h+var_28], rcx                                          ; +0x2a, 0x18000eb3a\nmov     [rsp+48h+var_20], 0                                            ; +0x2f, 0x18000eb3f\nmov     ecx, 28h ; '('; Size                                           ; +0x38, 0x18000eb48\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x3d, 0x18000eb4d\nmov     rbx, rax                                                       ; +0x42, 0x18000eb52\nmov     rax, [r14+20h]                                                 ; +0x45, 0x18000eb55\nmov     [rbx+20h], rax                                                 ; +0x49, 0x18000eb59\nmov     [rbx], rsi                                                     ; +0x4d, 0x18000eb5d\nmov     [rbx+10h], rsi                                                 ; +0x50, 0x18000eb60\nmov     word ptr [rbx+18h], 0                                          ; +0x54, 0x18000eb64\nmov     [rbx+8], r15                                                   ; +0x5a, 0x18000eb6a\nmovzx   eax, byte ptr [r14+18h]                                        ; +0x5e, 0x18000eb6e\nmov     [rbx+18h], al                                                  ; +0x63, 0x18000eb73\ncmp     byte ptr [rsi+19h], 0                                          ; +0x66, 0x18000eb76\ncmovnz  rsi, rbx                                                       ; +0x6a, 0x18000eb7a\nmov     [rsp+48h+arg_8], rsi                                           ; +0x6e, 0x18000eb7e\nmov     r8, rbx                                                        ; +0x73, 0x18000eb83\nmov     rdx, [r14]                                                     ; +0x76, 0x18000eb86\nmov     rcx, rdi                                                       ; +0x79, 0x18000eb89\ncall    sub_18000EB10                                                  ; +0x7c, 0x18000eb8c\nmov     [rbx], rax                                                     ; +0x81, 0x18000eb91\nmov     r8, rbx                                                        ; +0x84, 0x18000eb94\nmov     rdx, [r14+10h]                                                 ; +0x87, 0x18000eb97\nmov     rcx, rdi                                                       ; +0x8b, 0x18000eb9b\ncall    sub_18000EB10                                                  ; +0x8e, 0x18000eb9e\nmov     [rbx+10h], rax                                                 ; +0x93, 0x18000eba3\nmov     rax, rsi                                                       ; +0x97, 0x18000eba7\nmov     rbx, [rsp+48h+arg_10]                                          ; +0x9a, 0x18000ebaa\nmov     rsi, [rsp+48h+arg_18]                                          ; +0x9f, 0x18000ebaf\nadd     rsp, 30h                                                       ; +0xa4, 0x18000ebb4\npop     r15                                                            ; +0xa8, 0x18000ebb8\npop     r14                                                            ; +0xaa, 0x18000ebba\npop     rdi                                                            ; +0xac, 0x18000ebbc\nretn                                                                   ; +0xad, 0x18000ebbd", "xrefs": ["sub_18000EB10 @ 0x18000eb8c", "sub_18000EB10 @ 0x18000eb9e", "cocos2d::CCSet::CCSet @ 0x18000ed2d", "<???> @ 0x1801adf84"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}