{"type": "func", "start": 4301160256, "end": 4301160527, "name": "GJDropDownLayer::create", "pseudocode": "// \n// GJDropDownLayer::create from 0x1005e7f40 to 0x1005e804f (271 bytes)\n// \n// 1 xrefs:\n// > GJDropDownLayer::create_1 @ 0x1005e848f\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\nGJDropDownLayer *__fastcall GJDropDownLayer::create(const char *a1, float a2, bool a3)\n{\n  char *v3; // rbx\n\n  v3 = (char *)operator new(0x260u);\n  cocos2d::CCLayerColor::CCLayerColor((__int64)v3);\n  *(_QWORD *)v3 = off_100978158;\n  *((_QWORD *)v3 + 40) = off_1009786C0;\n  *((_QWORD *)v3 + 41) = &off_100978730;\n  *((_QWORD *)v3 + 42) = off_100978748;\n  *((_QWORD *)v3 + 43) = off_100978768;\n  *((_QWORD *)v3 + 44) = off_100978788;\n  *((_QWORD *)v3 + 51) = off_1009787B0;\n  *((_QWORD *)v3 + 54) = off_100978830;\n  sub_10028CC30((_QWORD *)v3 + 68);\n  sub_10028CC30((_QWORD *)v3 + 69);\n  *((_QWORD *)v3 + 74) = 0;\n  v3[600] = 0;\n  *((_OWORD *)v3 + 35) = 0;\n  *(_OWORD *)(v3 + 569) = 0;\n  if ( GJDropDownLayer::init((GJDropDownLayer *)v3, a1, a2, a3) )\n  {\n    cocos2d::CCObject::autorelease((cocos2d::CCObject *)v3);\n  }\n  else\n  {\n    (*(void (__fastcall **)(char *))(*(_QWORD *)v3 + 16LL))(v3);\n    return nullptr;\n  }\n  return (GJDropDownLayer *)v3;\n}", "assembly": "; \n; GJDropDownLayer::create from 0x1005e7f40 to 0x1005e804f (271 bytes)\n; \n; 1 xrefs:\n; > GJDropDownLayer::create_1 @ 0x1005e848f\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, 0x1005e7f40\nmov     rbp, rsp                                                       ; +0x1, 0x1005e7f41\npush    r15                                                            ; +0x4, 0x1005e7f44\npush    r14                                                            ; +0x6, 0x1005e7f46\npush    rbx                                                            ; +0x8, 0x1005e7f48\npush    rax                                                            ; +0x9, 0x1005e7f49\nmov     r15d, esi                                                      ; +0xa, 0x1005e7f4a\nmovss   [rbp+var_1C], xmm0                                             ; +0xd, 0x1005e7f4d\nmov     r14, rdi                                                       ; +0x12, 0x1005e7f52\nmov     edi, 260h; __sz                                                ; +0x15, 0x1005e7f55\ncall    __Znwm; operator new(ulong)                                    ; +0x1a, 0x1005e7f5a\nmov     rbx, rax                                                       ; +0x1f, 0x1005e7f5f\nmov     rdi, rax                                                       ; +0x22, 0x1005e7f62\ncall    cocos2d__CCLayerColor__CCLayerColor                            ; +0x25, 0x1005e7f65\nlea     rax, off_100978158                                             ; +0x2a, 0x1005e7f6a\nmov     [rbx], rax                                                     ; +0x31, 0x1005e7f71\nlea     rax, off_1009786C0                                             ; +0x34, 0x1005e7f74\nmov     [rbx+140h], rax                                                ; +0x3b, 0x1005e7f7b\nlea     rax, off_100978730                                             ; +0x42, 0x1005e7f82\nmov     [rbx+148h], rax                                                ; +0x49, 0x1005e7f89\nlea     rax, off_100978748                                             ; +0x50, 0x1005e7f90\nmov     [rbx+150h], rax                                                ; +0x57, 0x1005e7f97\nlea     rax, off_100978768                                             ; +0x5e, 0x1005e7f9e\nmov     [rbx+158h], rax                                                ; +0x65, 0x1005e7fa5\nlea     rax, off_100978788                                             ; +0x6c, 0x1005e7fac\nmov     [rbx+160h], rax                                                ; +0x73, 0x1005e7fb3\nlea     rax, off_1009787B0                                             ; +0x7a, 0x1005e7fba\nmov     [rbx+198h], rax                                                ; +0x81, 0x1005e7fc1\nlea     rax, off_100978830                                             ; +0x88, 0x1005e7fc8\nmov     [rbx+1B0h], rax                                                ; +0x8f, 0x1005e7fcf\nlea     rdi, [rbx+220h]                                                ; +0x96, 0x1005e7fd6\ncall    sub_10028CC30                                                  ; +0x9d, 0x1005e7fdd\nmov     rdi, rbx                                                       ; +0xa2, 0x1005e7fe2\nadd     rdi, 228h                                                      ; +0xa5, 0x1005e7fe5\ncall    sub_10028CC30                                                  ; +0xac, 0x1005e7fec\nmov     qword ptr [rbx+250h], 0                                        ; +0xb1, 0x1005e7ff1\nmov     byte ptr [rbx+258h], 0                                         ; +0xbc, 0x1005e7ffc\nxorps   xmm0, xmm0                                                     ; +0xc3, 0x1005e8003\nmovups  xmmword ptr [rbx+230h], xmm0                                   ; +0xc6, 0x1005e8006\nmovups  xmmword ptr [rbx+239h], xmm0                                   ; +0xcd, 0x1005e800d\nmovzx   edx, r15b                                                      ; +0xd4, 0x1005e8014\nmov     rdi, rbx                                                       ; +0xd8, 0x1005e8018\nmov     rsi, r14                                                       ; +0xdb, 0x1005e801b\nmovss   xmm0, [rbp+var_1C]                                             ; +0xde, 0x1005e801e\ncall    GJDropDownLayer__init                                          ; +0xe3, 0x1005e8023\ntest    al, al                                                         ; +0xe8, 0x1005e8028\njz      short loc_1005E8036                                            ; +0xea, 0x1005e802a\nmov     rdi, rbx                                                       ; +0xec, 0x1005e802c\ncall    cocos2d__CCObject__autorelease                                 ; +0xef, 0x1005e802f\njmp     short loc_1005E8041                                            ; +0xf4, 0x1005e8034\nmov     rax, [rbx]                                                     ; +0xf6, 0x1005e8036\nmov     rdi, rbx                                                       ; +0xf9, 0x1005e8039\ncall    qword ptr [rax+10h]                                            ; +0xfc, 0x1005e803c\nxor     ebx, ebx                                                       ; +0xff, 0x1005e803f\nmov     rax, rbx                                                       ; +0x101, 0x1005e8041\nadd     rsp, 8                                                         ; +0x104, 0x1005e8044\npop     rbx                                                            ; +0x108, 0x1005e8048\npop     r14                                                            ; +0x109, 0x1005e8049\npop     r15                                                            ; +0x10b, 0x1005e804b\npop     rbp                                                            ; +0x10d, 0x1005e804d\nretn                                                                   ; +0x10e, 0x1005e804e", "xrefs": ["GJDropDownLayer::create_1 @ 0x1005e848f"], "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"}