{"type": "func", "start": 5372824896, "end": 5372825138, "name": "LevelSettingsObject::dLevelSettingsObject", "pseudocode": "// \n// LevelSettingsObject::dLevelSettingsObject from 0x1403ecd40 to 0x1403ece32 (242 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x14078a910\n// > <???> @ 0x140925250\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:31:45 +0000\n// \n\n// Hidden C++ exception states: #wind=1\nchar *__fastcall LevelSettingsObject::dLevelSettingsObject(char *Block, char a2)\n{\n  cocos2d::CCObject *v4; // rcx\n\n  *(_QWORD *)Block = &LevelSettingsObject::`vftable';\n  v4 = *((cocos2d::CCObject **)Block + 40);\n  if ( v4 )\n    cocos2d::CCObject::release(v4);\n  sub_1400BD560((void **)Block + 88, (__int64)(Block + 704));\n  sub_14003D310((__int64)(Block + 664));\n  sub_14018C850((__int64)(Block + 648), (__int64)(Block + 648), *(_QWORD *)(*((_QWORD *)Block + 81) + 8LL));\n  j_j_free(*((void **)Block + 81));\n  sub_14003EA90((_QWORD *)Block + 76);\n  sub_1401192C0((void **)Block + 74);\n  sub_14003EA90((_QWORD *)Block + 68);\n  sub_140414150(Block + 528);\n  sub_14003D310((__int64)(Block + 488));\n  sub_14003D310((__int64)(Block + 392));\n  cocos2d::CCNode::~CCNode((cocos2d::CCNode *)Block);\n  if ( (a2 & 1) != 0 )\n    j_j_free(Block);\n  return Block;\n}", "assembly": "; \n; LevelSettingsObject::dLevelSettingsObject from 0x1403ecd40 to 0x1403ece32 (242 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x14078a910\n; > <???> @ 0x140925250\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:31:45 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1403ecd40\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x1403ecd45\npush    rdi                                                            ; +0xa, 0x1403ecd4a\nsub     rsp, 20h                                                       ; +0xb, 0x1403ecd4b\nmov     esi, edx                                                       ; +0xf, 0x1403ecd4f\nmov     rdi, rcx                                                       ; +0x11, 0x1403ecd51\nlea     rax, ??_7LevelSettingsObject@@6B@; const LevelSettingsObject::`vftable' ; +0x14, 0x1403ecd54\nmov     [rcx], rax                                                     ; +0x1b, 0x1403ecd5b\nmov     rcx, [rcx+140h]                                                ; +0x1e, 0x1403ecd5e\ntest    rcx, rcx                                                       ; +0x25, 0x1403ecd65\njz      short loc_1403ECD70                                            ; +0x28, 0x1403ecd68\ncall    cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x2a, 0x1403ecd6a\nlea     rcx, [rdi+2C0h]                                                ; +0x30, 0x1403ecd70\nmov     rdx, rcx                                                       ; +0x37, 0x1403ecd77\ncall    sub_1400BD560                                                  ; +0x3a, 0x1403ecd7a\nlea     rcx, [rdi+298h]                                                ; +0x3f, 0x1403ecd7f\ncall    sub_14003D310                                                  ; +0x46, 0x1403ecd86\nmov     r8, [rdi+288h]                                                 ; +0x4b, 0x1403ecd8b\nmov     r8, [r8+8]                                                     ; +0x52, 0x1403ecd92\nlea     rdx, [rdi+288h]                                                ; +0x56, 0x1403ecd96\nlea     rcx, [rdi+288h]                                                ; +0x5d, 0x1403ecd9d\ncall    sub_14018C850                                                  ; +0x64, 0x1403ecda4\nmov     edx, 48h ; 'H'                                                 ; +0x69, 0x1403ecda9\nmov     rcx, [rdi+288h]; Block                                         ; +0x6e, 0x1403ecdae\ncall    j_j_free                                                       ; +0x75, 0x1403ecdb5\nlea     rcx, [rdi+260h]; void *                                        ; +0x7a, 0x1403ecdba\ncall    sub_14003EA90                                                  ; +0x81, 0x1403ecdc1\nlea     rcx, [rdi+250h]                                                ; +0x86, 0x1403ecdc6\ncall    sub_1401192C0                                                  ; +0x8d, 0x1403ecdcd\nlea     rcx, [rdi+220h]; void *                                        ; +0x92, 0x1403ecdd2\ncall    sub_14003EA90                                                  ; +0x99, 0x1403ecdd9\nlea     rcx, [rdi+210h]                                                ; +0x9e, 0x1403ecdde\ncall    sub_140414150                                                  ; +0xa5, 0x1403ecde5\nlea     rcx, [rdi+1E8h]                                                ; +0xaa, 0x1403ecdea\ncall    sub_14003D310                                                  ; +0xb1, 0x1403ecdf1\nlea     rcx, [rdi+188h]                                                ; +0xb6, 0x1403ecdf6\ncall    sub_14003D310                                                  ; +0xbd, 0x1403ecdfd\nmov     rcx, rdi                                                       ; +0xc2, 0x1403ece02\ncall    cs:__imp_??1CCNode@cocos2d@@UEAA@XZ; cocos2d::CCNode::~CCNode(void) ; +0xc5, 0x1403ece05\nnop                                                                    ; +0xcb, 0x1403ece0b\ntest    sil, 1                                                         ; +0xcc, 0x1403ece0c\njz      short loc_1403ECE1F                                            ; +0xd0, 0x1403ece10\nmov     edx, 2D8h                                                      ; +0xd2, 0x1403ece12\nmov     rcx, rdi; Block                                                ; +0xd7, 0x1403ece17\ncall    j_j_free                                                       ; +0xda, 0x1403ece1a\nmov     rax, rdi                                                       ; +0xdf, 0x1403ece1f\nmov     rbx, [rsp+28h+arg_0]                                           ; +0xe2, 0x1403ece22\nmov     rsi, [rsp+28h+arg_8]                                           ; +0xe7, 0x1403ece27\nadd     rsp, 20h                                                       ; +0xec, 0x1403ece2c\npop     rdi                                                            ; +0xf0, 0x1403ece30\nretn                                                                   ; +0xf1, 0x1403ece31", "xrefs": ["<???> @ 0x14078a910", "<???> @ 0x140925250"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}