{"type": "func", "start": 4299327744, "end": 4299327849, "name": "GJSmartBlockPreview::init", "pseudocode": "// \n// GJSmartBlockPreview::init from 0x100428900 to 0x100428969 (105 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\nbool __fastcall GJSmartBlockPreview::init(__int64 a1, const std::string *a2)\n{\n  bool result; // al\n  bool v3; // r12\n  float v4[10]; // [rsp+8h] [rbp-28h] BYREF\n\n  result = cocos2d::CCNode::init((cocos2d::CCNode *)a1);\n  if ( result )\n  {\n    v3 = result;\n    sub_10028CBF0(v4, 90.0, 90.0);\n    (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)a1 + 304LL))(a1, v4);\n    std::string::operator=((std::string *)(a1 + 320), a2);\n    return v3;\n  }\n  return result;\n}", "assembly": "; \n; GJSmartBlockPreview::init from 0x100428900 to 0x100428969 (105 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, 0x100428900\nmov     rbp, rsp                                                       ; +0x1, 0x100428901\npush    r15                                                            ; +0x4, 0x100428904\npush    r14                                                            ; +0x6, 0x100428906\npush    r12                                                            ; +0x8, 0x100428908\npush    rbx                                                            ; +0xa, 0x10042890a\nsub     rsp, 10h                                                       ; +0xb, 0x10042890b\nmov     rbx, rsi                                                       ; +0xf, 0x10042890f\nmov     r14, rdi                                                       ; +0x12, 0x100428912\ncall    cocos2d__CCNode__init                                          ; +0x15, 0x100428915\ntest    al, al                                                         ; +0x1a, 0x10042891a\njz      short loc_10042895C                                            ; +0x1c, 0x10042891c\nlea     r15, [rbp+var_28]                                              ; +0x1e, 0x10042891e\nmovss   xmm0, cs:dword_100815038                                       ; +0x22, 0x100428922\nmov     rdi, r15                                                       ; +0x2a, 0x10042892a\nmovaps  xmm1, xmm0                                                     ; +0x2d, 0x10042892d\nmov     r12d, eax                                                      ; +0x30, 0x100428930\ncall    sub_10028CBF0                                                  ; +0x33, 0x100428933\nmov     rax, [r14]                                                     ; +0x38, 0x100428938\nmov     rdi, r14                                                       ; +0x3b, 0x10042893b\nmov     rsi, r15                                                       ; +0x3e, 0x10042893e\ncall    qword ptr [rax+130h]                                           ; +0x41, 0x100428941\nadd     r14, 140h                                                      ; +0x47, 0x100428947\nmov     rdi, r14; this                                                 ; +0x4e, 0x10042894e\nmov     rsi, rbx; __str                                                ; +0x51, 0x100428951\ncall    __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEaSERKS5_; std::string::operator=(std::string const&) ; +0x54, 0x100428954\nmov     eax, r12d                                                      ; +0x59, 0x100428959\nadd     rsp, 10h                                                       ; +0x5c, 0x10042895c\npop     rbx                                                            ; +0x60, 0x100428960\npop     r12                                                            ; +0x61, 0x100428961\npop     r14                                                            ; +0x63, 0x100428963\npop     r15                                                            ; +0x65, 0x100428965\npop     rbp                                                            ; +0x67, 0x100428967\nretn                                                                   ; +0x68, 0x100428968", "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"}