{"type": "func", "start": 4299249008, "end": 4299249113, "name": "GJSmartBlockPreview::init", "pseudocode": "// \n// GJSmartBlockPreview::init from 0x100415570 to 0x1004155d9 (105 bytes)\n// \n// 0 xrefs:\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 12:30:11 +0000\n// \n\nchar __fastcall GJSmartBlockPreview::init(__int64 a1, const std::string *a2)\n{\n  char result; // al\n  char v3; // r12\n  float v4[10]; // [rsp+8h] [rbp-28h] BYREF\n\n  result = cocos2d::CCNode::init();\n  if ( result )\n  {\n    v3 = result;\n    sub_100278260(v4, 90.0, 90.0);\n    (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)a1 + 320LL))(a1, v4);\n    std::string::operator=((std::string *)(a1 + 320), a2);\n    return v3;\n  }\n  return result;\n}", "assembly": "; \n; GJSmartBlockPreview::init from 0x100415570 to 0x1004155d9 (105 bytes)\n; \n; 0 xrefs:\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 12:30:11 +0000\n; \npush    rbp                                                            ; +0x0, 0x100415570\nmov     rbp, rsp                                                       ; +0x1, 0x100415571\npush    r15                                                            ; +0x4, 0x100415574\npush    r14                                                            ; +0x6, 0x100415576\npush    r12                                                            ; +0x8, 0x100415578\npush    rbx                                                            ; +0xa, 0x10041557a\nsub     rsp, 10h                                                       ; +0xb, 0x10041557b\nmov     rbx, rsi                                                       ; +0xf, 0x10041557f\nmov     r14, rdi                                                       ; +0x12, 0x100415582\ncall    cocos2d__CCNode__init                                          ; +0x15, 0x100415585\ntest    al, al                                                         ; +0x1a, 0x10041558a\njz      short loc_1004155CC                                            ; +0x1c, 0x10041558c\nlea     r15, [rbp+var_28]                                              ; +0x1e, 0x10041558e\nmovss   xmm0, cs:flt_100A035A4                                         ; +0x22, 0x100415592\nmov     rdi, r15                                                       ; +0x2a, 0x10041559a\nmovaps  xmm1, xmm0                                                     ; +0x2d, 0x10041559d\nmov     r12d, eax                                                      ; +0x30, 0x1004155a0\ncall    sub_100278260                                                  ; +0x33, 0x1004155a3\nmov     rax, [r14]                                                     ; +0x38, 0x1004155a8\nmov     rdi, r14                                                       ; +0x3b, 0x1004155ab\nmov     rsi, r15                                                       ; +0x3e, 0x1004155ae\ncall    qword ptr [rax+140h]                                           ; +0x41, 0x1004155b1\nadd     r14, 140h                                                      ; +0x47, 0x1004155b7\nmov     rdi, r14; this                                                 ; +0x4e, 0x1004155be\nmov     rsi, rbx; __str                                                ; +0x51, 0x1004155c1\ncall    __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEaSERKS5_; std::string::operator=(std::string const&) ; +0x54, 0x1004155c4\nmov     eax, r12d                                                      ; +0x59, 0x1004155c9\nadd     rsp, 10h                                                       ; +0x5c, 0x1004155cc\npop     rbx                                                            ; +0x60, 0x1004155d0\npop     r12                                                            ; +0x61, 0x1004155d1\npop     r14                                                            ; +0x63, 0x1004155d3\npop     r15                                                            ; +0x65, 0x1004155d5\npop     rbp                                                            ; +0x67, 0x1004155d7\nretn                                                                   ; +0x68, 0x1004155d8", "xrefs": [], "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"}