{"type": "func", "start": 4298713536, "end": 4298713740, "name": "GauntletLayer::create", "pseudocode": "// \n// GauntletLayer::create from 0x1003929c0 to 0x100392a8c (204 bytes)\n// \n// 0 xrefs:\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\nGauntletLayer *__fastcall GauntletLayer::create(GauntletType a1)\n{\n  char *v1; // rbx\n\n  v1 = (char *)operator new(0x1E0u);\n  cocos2d::CCLayer::CCLayer(v1);\n  *(_QWORD *)v1 = off_10091FC78;\n  *((_QWORD *)v1 + 40) = off_100920108;\n  *((_QWORD *)v1 + 41) = &off_100920178;\n  *((_QWORD *)v1 + 42) = off_100920190;\n  *((_QWORD *)v1 + 43) = off_1009201B0;\n  *((_QWORD *)v1 + 44) = off_1009201D0;\n  *((_QWORD *)v1 + 51) = off_1009201F8;\n  *((_OWORD *)v1 + 26) = 0;\n  *(_OWORD *)(v1 + 440) = 0;\n  *(_OWORD *)(v1 + 456) = 0;\n  *((_QWORD *)v1 + 59) = 0;\n  if ( GauntletLayer::init((GauntletLayer *)v1, a1) )\n  {\n    cocos2d::CCObject::autorelease((cocos2d::CCObject *)v1);\n  }\n  else\n  {\n    (*(void (__fastcall **)(char *))(*(_QWORD *)v1 + 16LL))(v1);\n    return nullptr;\n  }\n  return (GauntletLayer *)v1;\n}", "assembly": "; \n; GauntletLayer::create from 0x1003929c0 to 0x100392a8c (204 bytes)\n; \n; 0 xrefs:\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, 0x1003929c0\nmov     rbp, rsp                                                       ; +0x1, 0x1003929c1\npush    r14                                                            ; +0x4, 0x1003929c4\npush    rbx                                                            ; +0x6, 0x1003929c6\nmov     r14d, edi                                                      ; +0x7, 0x1003929c7\nmov     edi, 1E0h; __sz                                                ; +0xa, 0x1003929ca\ncall    __Znwm; operator new(ulong)                                    ; +0xf, 0x1003929cf\nmov     rbx, rax                                                       ; +0x14, 0x1003929d4\nmov     rdi, rax                                                       ; +0x17, 0x1003929d7\ncall    cocos2d__CCLayer__CCLayer                                      ; +0x1a, 0x1003929da\nlea     rax, off_10091FC78                                             ; +0x1f, 0x1003929df\nmov     [rbx], rax                                                     ; +0x26, 0x1003929e6\nlea     rax, off_100920108                                             ; +0x29, 0x1003929e9\nmov     [rbx+140h], rax                                                ; +0x30, 0x1003929f0\nlea     rax, off_100920178                                             ; +0x37, 0x1003929f7\nmov     [rbx+148h], rax                                                ; +0x3e, 0x1003929fe\nlea     rax, off_100920190                                             ; +0x45, 0x100392a05\nmov     [rbx+150h], rax                                                ; +0x4c, 0x100392a0c\nlea     rax, off_1009201B0                                             ; +0x53, 0x100392a13\nmov     [rbx+158h], rax                                                ; +0x5a, 0x100392a1a\nlea     rax, off_1009201D0                                             ; +0x61, 0x100392a21\nmov     [rbx+160h], rax                                                ; +0x68, 0x100392a28\nlea     rax, off_1009201F8                                             ; +0x6f, 0x100392a2f\nmov     [rbx+198h], rax                                                ; +0x76, 0x100392a36\nxorps   xmm0, xmm0                                                     ; +0x7d, 0x100392a3d\nmovups  xmmword ptr [rbx+1A0h], xmm0                                   ; +0x80, 0x100392a40\nmovups  xmmword ptr [rbx+1B8h], xmm0                                   ; +0x87, 0x100392a47\nmovups  xmmword ptr [rbx+1C8h], xmm0                                   ; +0x8e, 0x100392a4e\nmov     qword ptr [rbx+1D8h], 0                                        ; +0x95, 0x100392a55\nmov     rdi, rbx                                                       ; +0xa0, 0x100392a60\nmov     esi, r14d                                                      ; +0xa3, 0x100392a63\ncall    GauntletLayer__init                                            ; +0xa6, 0x100392a66\ntest    al, al                                                         ; +0xab, 0x100392a6b\njz      short loc_100392A79                                            ; +0xad, 0x100392a6d\nmov     rdi, rbx                                                       ; +0xaf, 0x100392a6f\ncall    cocos2d__CCObject__autorelease                                 ; +0xb2, 0x100392a72\njmp     short loc_100392A84                                            ; +0xb7, 0x100392a77\nmov     rax, [rbx]                                                     ; +0xb9, 0x100392a79\nmov     rdi, rbx                                                       ; +0xbc, 0x100392a7c\ncall    qword ptr [rax+10h]                                            ; +0xbf, 0x100392a7f\nxor     ebx, ebx                                                       ; +0xc2, 0x100392a82\nmov     rax, rbx                                                       ; +0xc4, 0x100392a84\npop     rbx                                                            ; +0xc7, 0x100392a87\npop     r14                                                            ; +0xc8, 0x100392a88\npop     rbp                                                            ; +0xca, 0x100392a8a\nretn                                                                   ; +0xcb, 0x100392a8b", "xrefs": [], "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"}