{"type": "func", "start": 4295002488, "end": 4295002604, "name": "GJSmartBlockPreview::init", "pseudocode": "// \n// GJSmartBlockPreview::init from 0x100008978 to 0x1000089ec (116 bytes)\n// \n// 1 xrefs:\n// > GJSmartBlockPreview::create @ 0x1000088fc\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  _BOOL8 v4; // x20\n  _BYTE v6[8]; // [xsp+8h] [xbp-28h] BYREF\n\n  v4 = cocos2d::CCNode::init((cocos2d::CCNode *)a1);\n  if ( v4 )\n  {\n    sub_100022988(v6, 90.0, 90.0);\n    (*(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)a1 + 304LL))(a1, v6);\n    std::string::operator=((std::string *)(a1 + 320), a2);\n  }\n  return v4;\n}", "assembly": "; \n; GJSmartBlockPreview::init from 0x100008978 to 0x1000089ec (116 bytes)\n; \n; 1 xrefs:\n; > GJSmartBlockPreview::create @ 0x1000088fc\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\nSUB             SP, SP, #0x40                                          ; +0x0, 0x100008978\nSTP             X22, X21, [SP,#0x30+var_20]                            ; +0x4, 0x10000897c\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x8, 0x100008980\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0xc, 0x100008984\nADD             X29, SP, #0x30                                         ; +0x10, 0x100008988\nMOV             X19, X1                                                ; +0x14, 0x10000898c\nMOV             X21, X0                                                ; +0x18, 0x100008990\nBL              cocos2d__CCNode__init                                  ; +0x1c, 0x100008994\nMOV             X20, X0                                                ; +0x20, 0x100008998\nCBZ             W0, loc_1000089D4                                      ; +0x24, 0x10000899c\nMOV             W8, #0x42B40000                                        ; +0x28, 0x1000089a0\nFMOV            S0, W8                                                 ; +0x2c, 0x1000089a4\nADD             X0, SP, #0x30+var_28                                   ; +0x30, 0x1000089a8\nFMOV            S1, S0                                                 ; +0x34, 0x1000089ac\nBL              sub_100022988                                          ; +0x38, 0x1000089b0\nLDR             X8, [X21]                                              ; +0x3c, 0x1000089b4\nLDR             X8, [X8,#0x130]                                        ; +0x40, 0x1000089b8\nADD             X1, SP, #0x30+var_28                                   ; +0x44, 0x1000089bc\nMOV             X0, X21                                                ; +0x48, 0x1000089c0\nBLR             X8                                                     ; +0x4c, 0x1000089c4\nADD             X0, X21, #0x140; this                                  ; +0x50, 0x1000089c8\nMOV             X1, X19; __str                                         ; +0x54, 0x1000089cc\nBL              __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEaSERKS5_; std::string::operator=(std::string const&) ; +0x58, 0x1000089d0\nMOV             X0, X20                                                ; +0x5c, 0x1000089d4\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x60, 0x1000089d8\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x64, 0x1000089dc\nLDP             X22, X21, [SP,#0x30+var_20]                            ; +0x68, 0x1000089e0\nADD             SP, SP, #0x40 ; '@'                                    ; +0x6c, 0x1000089e4\nRET                                                                    ; +0x70, 0x1000089e8", "xrefs": ["GJSmartBlockPreview::create @ 0x1000088fc"], "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"}