{"type": "func", "start": 4300333680, "end": 4300333902, "name": "GameLevelManager::handleItND", "pseudocode": "// \n// GameLevelManager::handleItND from 0x10051e270 to 0x10051e34e (222 bytes)\n// \n// 1 xrefs:\n// > GameLevelManager::handleItDelayed @ 0x10051e03b\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\nvoid __fastcall GameLevelManager::handleItND(GameLevelManager *a1, cocos2d::CCNode *a2, void *a3)\n{\n  __m128 v3; // xmm0\n  unsigned __int8 v5; // r15\n  std::string v6; // [rsp+0h] [rbp-50h] BYREF\n  __m128 v7; // [rsp+20h] [rbp-30h] BYREF\n  void *__p; // [rsp+30h] [rbp-20h]\n\n  v5 = *((_BYTE *)a3 + 314);\n  if ( (*((_BYTE *)a3 + 320) & 1) != 0 )\n  {\n    sub_100006B70(&v6, *((const void **)a3 + 42), *((_QWORD *)a3 + 41), *(double *)v3.i64);\n    if ( (*((_BYTE *)a3 + 344) & 1) != 0 )\n      goto LABEL_3;\n  }\n  else\n  {\n    v6.__r_.__value_.__r.__words[2] = *((_QWORD *)a3 + 42);\n    v3 = *((__m128 *)a3 + 20);\n    *(__m128 *)&v6.__r_.__value_.__l.0 = v3;\n    if ( (*((_BYTE *)a3 + 344) & 1) != 0 )\n    {\nLABEL_3:\n      sub_100006B70(&v7, *((const void **)a3 + 45), *((_QWORD *)a3 + 44), *(double *)v3.i64);\n      goto LABEL_6;\n    }\n  }\n  __p = *((void **)a3 + 45);\n  v3 = *(__m128 *)((char *)a3 + 344);\n  v7 = v3;\nLABEL_6:\n  GameLevelManager::handleIt(\n    (__int64)a1,\n    (const std::string::value_type *)v5,\n    &v6,\n    (__int128 *)&v7,\n    *((_DWORD *)a3 + 92),\n    v3);\n  if ( (v7.i8[0] & 1) != 0 )\n    operator delete(__p);\n  if ( (*(_BYTE *)&v6.__r_.__value_.__s.0 & 1) != 0 )\n    operator delete(v6.__r_.__value_.__l.__data_);\n  cocos2d::CCObject::release((cocos2d::CCObject *)a3);\n}", "assembly": "; \n; GameLevelManager::handleItND from 0x10051e270 to 0x10051e34e (222 bytes)\n; \n; 1 xrefs:\n; > GameLevelManager::handleItDelayed @ 0x10051e03b\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\npush    rbp                                                            ; +0x0, 0x10051e270\nmov     rbp, rsp                                                       ; +0x1, 0x10051e271\npush    r15                                                            ; +0x4, 0x10051e274\npush    r14                                                            ; +0x6, 0x10051e276\npush    rbx                                                            ; +0x8, 0x10051e278\nsub     rsp, 38h                                                       ; +0x9, 0x10051e279\nmov     rbx, rdx                                                       ; +0xd, 0x10051e27d\nmov     r14, rdi                                                       ; +0x10, 0x10051e280\nmovzx   r15d, byte ptr [rdx+13Ah]                                      ; +0x13, 0x10051e283\ntest    byte ptr [rdx+140h], 1                                         ; +0x1b, 0x10051e28b\njnz     short loc_10051E2CC                                            ; +0x22, 0x10051e292\nlea     rax, [rbx+140h]                                                ; +0x24, 0x10051e294\nmov     rcx, [rax+10h]                                                 ; +0x2b, 0x10051e29b\nmov     [rbp+var_40], rcx                                              ; +0x2f, 0x10051e29f\nmovups  xmm0, xmmword ptr [rax]                                        ; +0x33, 0x10051e2a3\nmovaps  [rbp+var_50], xmm0                                             ; +0x36, 0x10051e2a6\ntest    byte ptr [rbx+158h], 1                                         ; +0x3a, 0x10051e2aa\njz      short loc_10051E2EC                                            ; +0x41, 0x10051e2b1\nmov     rdx, [rbx+160h]                                                ; +0x43, 0x10051e2b3\nmov     rsi, [rbx+168h]                                                ; +0x4a, 0x10051e2ba\nlea     rdi, [rbp+var_30]                                              ; +0x51, 0x10051e2c1\ncall    sub_100006B70                                                  ; +0x55, 0x10051e2c5\njmp     short loc_10051E302                                            ; +0x5a, 0x10051e2ca\nmov     rdx, [rbx+148h]                                                ; +0x5c, 0x10051e2cc\nmov     rsi, [rbx+150h]                                                ; +0x63, 0x10051e2d3\nlea     rdi, [rbp+var_50]                                              ; +0x6a, 0x10051e2da\ncall    sub_100006B70                                                  ; +0x6e, 0x10051e2de\ntest    byte ptr [rbx+158h], 1                                         ; +0x73, 0x10051e2e3\njnz     short loc_10051E2B3                                            ; +0x7a, 0x10051e2ea\nlea     rax, [rbx+158h]                                                ; +0x7c, 0x10051e2ec\nmov     rcx, [rax+10h]                                                 ; +0x83, 0x10051e2f3\nmov     [rbp+__p], rcx                                                 ; +0x87, 0x10051e2f7\nmovups  xmm0, xmmword ptr [rax]                                        ; +0x8b, 0x10051e2fb\nmovaps  [rbp+var_30], xmm0                                             ; +0x8e, 0x10051e2fe\nmov     r8d, [rbx+170h]                                                ; +0x92, 0x10051e302\nmovzx   esi, r15b                                                      ; +0x99, 0x10051e309\nlea     rdx, [rbp+var_50]                                              ; +0x9d, 0x10051e30d\nlea     rcx, [rbp+var_30]                                              ; +0xa1, 0x10051e311\nmov     rdi, r14                                                       ; +0xa5, 0x10051e315\ncall    GameLevelManager__handleIt                                     ; +0xa8, 0x10051e318\ntest    byte ptr [rbp+var_30], 1                                       ; +0xad, 0x10051e31d\njz      short loc_10051E32C                                            ; +0xb1, 0x10051e321\nmov     rdi, [rbp+__p]; __p                                            ; +0xb3, 0x10051e323\ncall    __ZdlPv; operator delete(void *)                               ; +0xb7, 0x10051e327\ntest    byte ptr [rbp+var_50], 1                                       ; +0xbc, 0x10051e32c\njz      short loc_10051E33B                                            ; +0xc0, 0x10051e330\nmov     rdi, [rbp+var_40]; __p                                         ; +0xc2, 0x10051e332\ncall    __ZdlPv; operator delete(void *)                               ; +0xc6, 0x10051e336\nmov     rdi, rbx                                                       ; +0xcb, 0x10051e33b\ncall    cocos2d__CCObject__release                                     ; +0xce, 0x10051e33e\nadd     rsp, 38h                                                       ; +0xd3, 0x10051e343\npop     rbx                                                            ; +0xd7, 0x10051e347\npop     r14                                                            ; +0xd8, 0x10051e348\npop     r15                                                            ; +0xda, 0x10051e34a\npop     rbp                                                            ; +0xdc, 0x10051e34c\nretn                                                                   ; +0xdd, 0x10051e34d", "xrefs": ["GameLevelManager::handleItDelayed @ 0x10051e03b"], "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"}