{"type": "func", "start": 4704392, "end": 4704500, "name": "ChainNode::ChainNode", "pseudocode": "// \n// ChainNode::ChainNode from 0x47c888 to 0x47c8f4 (108 bytes)\n// \n// 4 xrefs:\n// > sub_47C8F8 @ 0x47c90a\n// > std::__ndk1::vector<ChainNode,std::__ndk1::allocator<ChainNode>>::__push_back_slow_path<ChainNode const&> @ 0x47ca68\n// > processTraceOutSource @ 0x47cd54\n// > processTrace @ 0x47f65c\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:49:16 +0000\n// \n\n// Alternative name is '_ZN9ChainNodeC1ERKS_'\nint __fastcall ChainNode::ChainNode(int a1, int a2)\n{\n  unsigned int v4; // r1\n  int v5; // r6\n  int v6; // r1\n  int v7; // r2\n  int v8; // r3\n\n  *(_DWORD *)a1 = *(_DWORD *)a2;\n  *(_DWORD *)(a1 + 4) = 0;\n  *(_DWORD *)(a1 + 8) = 0;\n  *(_DWORD *)(a1 + 12) = 0;\n  v4 = -1431655765 * ((*(_DWORD *)(a2 + 8) - *(_DWORD *)(a2 + 4)) >> 2);\n  if ( v4 )\n  {\n    v5 = a1 + 4;\n    std::vector<ChainObject>::allocate((_DWORD *)(a1 + 4), v4);\n    sub_45F788(v5, *(int **)(a2 + 4), *(int **)(a2 + 8));\n  }\n  v6 = *(_DWORD *)(a2 + 20);\n  v7 = *(_DWORD *)(a2 + 24);\n  v8 = *(_DWORD *)(a2 + 28);\n  *(_DWORD *)(a1 + 16) = *(_DWORD *)(a2 + 16);\n  *(_DWORD *)(a1 + 20) = v6;\n  *(_DWORD *)(a1 + 24) = v7;\n  *(_DWORD *)(a1 + 28) = v8;\n  *(_BYTE *)(a1 + 32) = *(_BYTE *)(a2 + 32);\n  *(_DWORD *)(a1 + 36) = *(_DWORD *)(a2 + 36);\n  *(_BYTE *)(a1 + 40) = *(_BYTE *)(a2 + 40);\n  *(_BYTE *)(a1 + 41) = *(_BYTE *)(a2 + 41);\n  return a1;\n}", "assembly": "; \n; ChainNode::ChainNode from 0x47c888 to 0x47c8f4 (108 bytes)\n; \n; 4 xrefs:\n; > sub_47C8F8 @ 0x47c90a\n; > std::__ndk1::vector<ChainNode,std::__ndk1::allocator<ChainNode>>::__push_back_slow_path<ChainNode const&> @ 0x47ca68\n; > processTraceOutSource @ 0x47cd54\n; > processTrace @ 0x47f65c\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:49:16 +0000\n; \nPUSH            {R4-R6,LR}                                             ; +0x0, 0x47c888\nMOV             R5, R1                                                 ; +0x2, 0x47c88a\nLDR             R3, [R1]                                               ; +0x4, 0x47c88c\nMOV             R4, R0                                                 ; +0x6, 0x47c88e\nSTR             R3, [R0]                                               ; +0x8, 0x47c890\nMOVS            R3, #0                                                 ; +0xa, 0x47c892\nSTR             R3, [R0,#4]                                            ; +0xc, 0x47c894\nSTR             R3, [R0,#8]                                            ; +0xe, 0x47c896\nSTR             R3, [R0,#0xC]                                          ; +0x10, 0x47c898\nLDR             R3, [R1,#8]                                            ; +0x12, 0x47c89a\nLDR             R2, [R1,#4]                                            ; +0x14, 0x47c89c\nLDR             R1, =0xAAAAAAAB                                        ; +0x16, 0x47c89e\nSUBS            R3, R3, R2                                             ; +0x18, 0x47c8a0\nASRS            R3, R3, #2                                             ; +0x1a, 0x47c8a2\nMULS            R1, R3                                                 ; +0x1c, 0x47c8a4\nBEQ             loc_47C8C6                                             ; +0x1e, 0x47c8a6\nADDS            R6, R0, #4                                             ; +0x20, 0x47c8a8\nMOV             R0, R6                                                 ; +0x22, 0x47c8aa\nBL              _ZNSt6__ndk16vectorI11ChainObjectNS_9allocatorIS1_EEE8allocateEj; std::vector<ChainObject>::allocate(uint) ; +0x24, 0x47c8ac\nMOV             R0, R6                                                 ; +0x28, 0x47c8b0\nLDR             R1, [R5,#4]                                            ; +0x2a, 0x47c8b2\nLDR             R2, [R5,#8]                                            ; +0x2c, 0x47c8b4\nBL              sub_45F788                                             ; +0x2e, 0x47c8b6\nB               loc_47C8C6                                             ; +0x32, 0x47c8ba\nMOV             R0, R6                                                 ; +0x34, 0x47c8bc\nBL              _ZNSt6__ndk113__vector_baseI11ChainObjectNS_9allocatorIS1_EEED2Ev; std::__vector_base<ChainObject>::~__vector_base() ; +0x36, 0x47c8be\nBL              __cxa_end_cleanup                                      ; +0x3a, 0x47c8c2\nADD.W           R3, R5, #0x10                                          ; +0x3e, 0x47c8c6\nADD.W           R6, R4, #0x10                                          ; +0x42, 0x47c8ca\nLDM             R3, {R0-R3}                                            ; +0x46, 0x47c8ce\nSTM.W           R6, {R0-R3}                                            ; +0x48, 0x47c8d0\nMOV             R0, R4                                                 ; +0x4c, 0x47c8d4\nLDRB.W          R3, [R5,#0x20]                                         ; +0x4e, 0x47c8d6\nSTRB.W          R3, [R4,#0x20]                                         ; +0x52, 0x47c8da\nLDR             R3, [R5,#0x24]                                         ; +0x56, 0x47c8de\nSTR             R3, [R4,#0x24]                                         ; +0x58, 0x47c8e0\nLDRB.W          R3, [R5,#0x28]                                         ; +0x5a, 0x47c8e2\nSTRB.W          R3, [R4,#0x28]                                         ; +0x5e, 0x47c8e6\nLDRB.W          R3, [R5,#0x29]                                         ; +0x62, 0x47c8ea\nSTRB.W          R3, [R4,#0x29]                                         ; +0x66, 0x47c8ee\nPOP             {R4-R6,PC}                                             ; +0x6a, 0x47c8f2", "xrefs": ["sub_47C8F8 @ 0x47c90a", "std::__ndk1::vector<ChainNode,std::__ndk1::allocator<ChainNode>>::__push_back_slow_path<ChainNode const&> @ 0x47ca68", "processTraceOutSource @ 0x47cd54", "processTrace @ 0x47f65c"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "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"}